mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
optinix: fix build
This commit is contained in:
parent
7c7a19cf42
commit
d4a9346f0e
1 changed files with 0 additions and 5 deletions
|
@ -20,11 +20,6 @@ buildGoModule rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
substituteInPlace vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go \
|
|
||||||
--replace-fail '!os.IsNotExist(err)' '!os.IsNotExist(err) && !os.IsPermission(err)'
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd optinix \
|
installShellCompletion --cmd optinix \
|
||||||
--bash <($out/bin/optinix completion bash) \
|
--bash <($out/bin/optinix completion bash) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue