From bf68ce7d1b20a9186073e769a33dcab5186c4ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=B9=82=E0=B8=97=E0=B8=AA=E0=B8=BA=E0=B8=95=E0=B8=B1?= =?UTF-8?q?=E0=B8=A5?= Date: Mon, 3 Mar 2025 20:48:29 +0700 Subject: [PATCH] aerc: make notmuch optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don’t use it & notmuch is currently not building --- pkgs/by-name/ae/aerc/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ae/aerc/package.nix b/pkgs/by-name/ae/aerc/package.nix index 7fa713a762e6..14a25b37b414 100644 --- a/pkgs/by-name/ae/aerc/package.nix +++ b/pkgs/by-name/ae/aerc/package.nix @@ -3,6 +3,7 @@ buildGoModule, fetchFromSourcehut, ncurses, + withNotmuch ? true, notmuch, scdoc, python3Packages, @@ -50,14 +51,13 @@ buildGoModule rec { buildInputs = [ python3Packages.python - notmuch gawk - ]; + ] ++ lib.optional withNotmuch notmuch; installPhase = '' runHook preInstall - make $makeFlags GOFLAGS="$GOFLAGS -tags=notmuch" install + make $makeFlags GOFLAGS="$GOFLAGS${lib.optionalString withNotmuch " -tags=notmuch"}" install runHook postInstall '';