notmuch: don’t check with emacs when withEmacs=false

This commit is contained in:
Olli Helenius 2023-08-27 11:31:53 +03:00
parent 9bb49e499f
commit 1f28d8b6cc
No known key found for this signature in database
GPG Key ID: 67235CC88F41DE3C

View File

@ -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" ];