mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +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 ];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go \
|
||||
--replace-fail '!os.IsNotExist(err)' '!os.IsNotExist(err) && !os.IsPermission(err)'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd optinix \
|
||||
--bash <($out/bin/optinix completion bash) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue