Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aerc: fix GOFLAGS #93455

Merged
merged 1 commit into from Jul 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions pkgs/applications/networking/mailreaders/aerc/default.nix
Expand Up @@ -44,8 +44,6 @@ buildGoModule rec {

buildInputs = [ python3 notmuch ];

GOFLAGS="-tags=notmuch";

buildPhase = "
runHook preBuild
# we use make instead of go build
Expand All @@ -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
'';
Expand All @@ -73,4 +71,4 @@ buildGoModule rec {
license = licenses.mit;
platforms = platforms.unix;
};
}
}