Unverified Commit d4a9346f authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files

optinix: fix build

parent 7c7a19cf
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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) \