Merge pull request #251735 from liff/notmuch-emacs-check

notmuch: don’t check with emacs when withEmacs=false
This commit is contained in:
Mario Rodas
2023-08-27 08:18:43 -05:00
committed by GitHub
@@ -102,10 +102,11 @@ stdenv.mkDerivation rec {
checkTarget = "test";
nativeCheckInputs = [
which dtach openssl bash
gdb man emacs
gdb man
]
# for the test T-850.sh for notmuch-git, which is skipped when notmuch is
# built without sexp-support
++ lib.optional withEmacs emacs
++ lib.optional withSfsexp git;
installTargets = [ "install" "install-man" "install-info" ];