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 ];
|
||||
|
||||
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…
Reference in a new issue