From 902987d23d1c7e46e7310e213a5c1ba8b3b4d79a Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Mon, 20 Jul 2020 14:50:54 +1000 Subject: [PATCH] aerc: fix GOFLAGS (#93455) --- pkgs/applications/networking/mailreaders/aerc/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/aerc/default.nix b/pkgs/applications/networking/mailreaders/aerc/default.nix index 5609b48671c..34adb18c4ce 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 +}