Skip to content

Commit fdedbda

Browse files
neomutt: make notmuch optional (#387060)
2 parents fe6ae17 + ee8e5f7 commit fdedbda

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pkgs/by-name/ne/neomutt/package.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
enableLua ? false,
3434
enableSmimeKeys ? true,
3535
withContrib ? true,
36+
withNotmuch ? true,
3637
}:
3738

3839
assert lib.warnIf (
@@ -58,15 +59,15 @@ stdenv.mkDerivation (finalAttrs: {
5859
libkrb5
5960
libidn2
6061
ncurses
61-
notmuch
6262
openssl
6363
perl
6464
lmdb
6565
mailcap
6666
sqlite
6767
]
6868
++ lib.optional enableZstd zstd
69-
++ lib.optional enableLua lua;
69+
++ lib.optional enableLua lua
70+
++ lib.optional withNotmuch notmuch;
7071

7172
nativeBuildInputs = [
7273
docbook_xsl
@@ -108,7 +109,6 @@ stdenv.mkDerivation (finalAttrs: {
108109
"--gpgme"
109110
"--gss"
110111
"--lmdb"
111-
"--notmuch"
112112
"--ssl"
113113
"--sasl"
114114
"--with-homespool=mailbox"
@@ -119,7 +119,8 @@ stdenv.mkDerivation (finalAttrs: {
119119
"--zlib"
120120
]
121121
++ lib.optional enableZstd "--zstd"
122-
++ lib.optional enableLua "--lua";
122+
++ lib.optional enableLua "--lua"
123+
++ lib.optional withNotmuch "--notmuch";
123124

124125
postInstall =
125126
''

0 commit comments

Comments
 (0)