diff options
author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2022-11-04 12:18:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 12:18:50 +0100 |
commit | 1a0f0d0bc9ca09180d98708ba3ee726a2b92f9f1 (patch) | |
tree | 105734a42b7ef92cbd632f261bafc968e156ea39 /pkgs/applications | |
parent | 8a69fc9ef07bef79b315e9b626eb64e1d7471045 (diff) | |
parent | 27275765089ba73cacfc033331337b9c09ec950a (diff) |
Merge pull request #199457 from KAction/patch/v1/mutt
mutt: add options to disable support for pop3 and smtp
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 |