diff options
author | Dmitry Bogatov <serenity@kaction.cc> | 2022-11-03 21:51:17 -0400 |
---|---|---|
committer | Dmitry Bogatov <serenity@kaction.cc> | 2022-11-03 21:55:07 -0400 |
commit | 27275765089ba73cacfc033331337b9c09ec950a (patch) | |
tree | 937867c65838315b2c9cfb9ca05e27ca58b7ccb7 /pkgs/applications | |
parent | c89b82b451d88e1aa2b5e018dd3cc7d02b6b3224 (diff) |
mutt: add options to disable support for pop3 and smtp
Default configuration is unaffected -- both are enabled, but new options make it easier to recompile mutt without redundant pop3/smtp support for setups where something else provides MTA functionality.
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/mailreaders/mutt/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix index cc3bba9528e9f..f8a47d1023ba8 100644 --- a/pkgs/applications/networking/mailreaders/mutt/default.nix +++ b/pkgs/applications/networking/mailreaders/mutt/default.nix @@ -12,6 +12,8 @@ , gpgSupport ? false , gpgmeSupport ? true , imapSupport ? true +, pop3Support ? true +, smtpSupport ? true , withSidebar ? true , gssSupport ? true , writeScript @@ -44,9 +46,9 @@ stdenv.mkDerivation rec { (lib.enableFeature headerCache "hcache") (lib.enableFeature gpgmeSupport "gpgme") (lib.enableFeature imapSupport "imap") + (lib.enableFeature smtpSupport "smtp") + (lib.enableFeature pop3Support "pop") (lib.enableFeature withSidebar "sidebar") - "--enable-smtp" - "--enable-pop" "--with-mailpath=" # Look in $PATH at runtime, instead of hardcoding /usr/bin/sendmail |