mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
neomutt: make notmuch optional
This commit is contained in:
parent
4f8cf45715
commit
ee8e5f77d0
1 changed files with 5 additions and 4 deletions
|
@ -33,6 +33,7 @@
|
||||||
enableLua ? false,
|
enableLua ? false,
|
||||||
enableSmimeKeys ? true,
|
enableSmimeKeys ? true,
|
||||||
withContrib ? true,
|
withContrib ? true,
|
||||||
|
withNotmuch ? true,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert lib.warnIf (
|
assert lib.warnIf (
|
||||||
|
@ -58,7 +59,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
libkrb5
|
libkrb5
|
||||||
libidn2
|
libidn2
|
||||||
ncurses
|
ncurses
|
||||||
notmuch
|
|
||||||
openssl
|
openssl
|
||||||
perl
|
perl
|
||||||
lmdb
|
lmdb
|
||||||
|
@ -66,7 +66,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
sqlite
|
sqlite
|
||||||
]
|
]
|
||||||
++ lib.optional enableZstd zstd
|
++ lib.optional enableZstd zstd
|
||||||
++ lib.optional enableLua lua;
|
++ lib.optional enableLua lua
|
||||||
|
++ lib.optional withNotmuch notmuch;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
docbook_xsl
|
docbook_xsl
|
||||||
|
@ -108,7 +109,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
"--gpgme"
|
"--gpgme"
|
||||||
"--gss"
|
"--gss"
|
||||||
"--lmdb"
|
"--lmdb"
|
||||||
"--notmuch"
|
|
||||||
"--ssl"
|
"--ssl"
|
||||||
"--sasl"
|
"--sasl"
|
||||||
"--with-homespool=mailbox"
|
"--with-homespool=mailbox"
|
||||||
|
@ -119,7 +119,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
"--zlib"
|
"--zlib"
|
||||||
]
|
]
|
||||||
++ lib.optional enableZstd "--zstd"
|
++ lib.optional enableZstd "--zstd"
|
||||||
++ lib.optional enableLua "--lua";
|
++ lib.optional enableLua "--lua"
|
||||||
|
++ lib.optional withNotmuch "--notmuch";
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue