File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3333 enableLua ? false ,
3434 enableSmimeKeys ? true ,
3535 withContrib ? true ,
36+ withNotmuch ? true ,
3637} :
3738
3839assert 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 ''
You can’t perform that action at this time.
0 commit comments