diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-07-20 14:50:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-19 21:50:54 -0700 |
commit | 902987d23d1c7e46e7310e213a5c1ba8b3b4d79a (patch) | |
tree | 9921d46439a4b11f92d3ad28b7d24077a94b0218 /pkgs/applications | |
parent | 20294558d8287e117a7958373bc11b721b42a0ab (diff) |
aerc: fix GOFLAGS (#93455)
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/mailreaders/aerc/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/networking/mailreaders/aerc/default.nix b/pkgs/applications/networking/mailreaders/aerc/default.nix index 5609b48671c15..34adb18c4ce95 100644 --- a/pkgs/applications/networking/mailreaders/aerc/default.nix +++ b/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; }; -} \ No newline at end of file +} |