mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
aerc: fix GOFLAGS (#93455)
This commit is contained in:
parent
20294558d8
commit
902987d23d
|
@ -44,8 +44,6 @@ buildGoModule rec {
|
||||||
|
|
||||||
buildInputs = [ python3 notmuch ];
|
buildInputs = [ python3 notmuch ];
|
||||||
|
|
||||||
GOFLAGS="-tags=notmuch";
|
|
||||||
|
|
||||||
buildPhase = "
|
buildPhase = "
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
# we use make instead of go build
|
# we use make instead of go build
|
||||||
|
@ -54,7 +52,7 @@ buildGoModule rec {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
make PREFIX=$out install
|
make PREFIX=$out GOFLAGS="$GOFLAGS -tags=notmuch" install
|
||||||
wrapPythonProgramsIn $out/share/aerc/filters "$out $pythonPath"
|
wrapPythonProgramsIn $out/share/aerc/filters "$out $pythonPath"
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
@ -73,4 +71,4 @@ buildGoModule rec {
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue