optinix: fix build

This commit is contained in:
Kenichi Kamiya
2025-05-03 20:59:44 +09:00
parent 7c7a19cf42
commit d4a9346f0e
-5
View File
@@ -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) \