git.iko.soy/typeable/nixpkgs
on master help sign in
aerc: fix GOFLAGS (#93455)
commit902987d23d1c7e46e7310e213a5c1ba8b3b4d79a authorzowoq <59103226+zowoq@users.noreply.github.com> dateMon 20 Jul 2020, 14:50 (6 years ago) parent2029455
1 file changed+2−4
pkgs/applications/networking/mailreaders/aerc/default.nix+2−4
pkgs/applications/networking/mailreaders/aerc/default.nix+2−4
@@ -44,8 +44,6 @@ buildGoModule rec {
4444
4545 buildInputs = [ python3 notmuch ];
4646
47− GOFLAGS="-tags=notmuch";
48−
4947 buildPhase = "
5048 runHook preBuild
5149 # we use make instead of go build
@@ -54,7 +52,7 @@ buildGoModule rec {
5452
5553 installPhase = ''
5654 runHook preInstall
57− make PREFIX=$out install
55+ make PREFIX=$out GOFLAGS="$GOFLAGS -tags=notmuch" install
5856 wrapPythonProgramsIn $out/share/aerc/filters "$out $pythonPath"
5957 runHook postInstall
6058 '';
@@ -73,4 +71,4 @@ buildGoModule rec {
7371 license = licenses.mit;
7472 platforms = platforms.unix;
7573 };
76−}
74+}