optinix: fix build (#403904)

This commit is contained in:
Wolfgang Walther
2025-05-03 12:56:27 +00:00
committed by GitHub
-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) \