diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-04-12 22:21:01 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-04-12 22:21:01 +0000 |
commit | ec8f2bdc1be06e33ff28440570aa788fc1a0348d (patch) | |
tree | fbeba8ac0cac58ace5d784ab5a91bdbacdc6b9b6 /pkgs/applications/networking/mailreaders/mutt/default.nix | |
parent | 165bc84831d52afa94d9f2883f5eea7795641ce2 (diff) | |
download | nixlib-ec8f2bdc1be06e33ff28440570aa788fc1a0348d.tar nixlib-ec8f2bdc1be06e33ff28440570aa788fc1a0348d.tar.gz nixlib-ec8f2bdc1be06e33ff28440570aa788fc1a0348d.tar.bz2 nixlib-ec8f2bdc1be06e33ff28440570aa788fc1a0348d.tar.lz nixlib-ec8f2bdc1be06e33ff28440570aa788fc1a0348d.tar.xz nixlib-ec8f2bdc1be06e33ff28440570aa788fc1a0348d.tar.zst nixlib-ec8f2bdc1be06e33ff28440570aa788fc1a0348d.zip |
Adding sasl support to mutt, so ssmtp sending works
svn path=/nixpkgs/trunk/; revision=21038
Diffstat (limited to 'pkgs/applications/networking/mailreaders/mutt/default.nix')
-rw-r--r-- | pkgs/applications/networking/mailreaders/mutt/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix index dce79c0f4c7b..86e6873f4b48 100644 --- a/pkgs/applications/networking/mailreaders/mutt/default.nix +++ b/pkgs/applications/networking/mailreaders/mutt/default.nix @@ -2,12 +2,15 @@ , sslSupport ? true , imapSupport ? true , headerCache ? true +, saslSupport ? true , gdbm ? null , openssl ? null +, cyrus_sasl ? null }: assert headerCache -> gdbm != null; assert sslSupport -> openssl != null; +assert saslSupport -> cyrus_sasl != null; stdenv.mkDerivation { name = "mutt-1.5.20"; @@ -19,6 +22,7 @@ stdenv.mkDerivation { ncurses which perl (if headerCache then gdbm else null) (if sslSupport then openssl else null) + (if saslSupport then cyrus_sasl else null) ]; configureFlags = [ "--with-mailpath=" "--enable-smtp" @@ -29,6 +33,7 @@ stdenv.mkDerivation { (if headerCache then "--enable-hcache" else "--disable-hcache") (if sslSupport then "--with-ssl" else "--without-ssl") (if imapSupport then "--enable-imap" else "--disable-imap") + (if saslSupport then "--with-sasl" else "--without-imap") ]; meta = { |