optinix: fix build
This commit is contained in:
parent
7c7a19cf42
commit
d4a9346f0e
@ -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…
x
Reference in New Issue
Block a user