aerc: fix GOFLAGS (#93455)

wip/yesman
zowoq 4 years ago committed by GitHub
parent 20294558d8
commit 902987d23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/applications/networking/mailreaders/aerc/default.nix

@ -44,8 +44,6 @@ buildGoModule rec {
buildInputs = [ python3 notmuch ];
GOFLAGS="-tags=notmuch";
buildPhase = "
runHook preBuild
# we use make instead of go build
@ -54,7 +52,7 @@ buildGoModule rec {
installPhase = ''
runHook preInstall
make PREFIX=$out install
make PREFIX=$out GOFLAGS="$GOFLAGS -tags=notmuch" install
wrapPythonProgramsIn $out/share/aerc/filters "$out $pythonPath"
runHook postInstall
'';
@ -73,4 +71,4 @@ buildGoModule rec {
license = licenses.mit;
platforms = platforms.unix;
};
}
}

Loading…
Cancel
Save