aerc: fix GOFLAGS (#93455)

This commit is contained in:
zowoq 2020-07-20 14:50:54 +10:00 committed by GitHub
parent 20294558d8
commit 902987d23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
''; '';