about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-09-06 07:17:20 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-09-06 07:17:20 +0000
commitf01245ee4a116f010915eee0d1c7e8c7e3236df2 (patch)
tree09ca477ef1c5861cc8d324326cd40f83f06566b9 /pkgs/applications/networking/mailreaders
parent29db2ca0c9457131c8bf190c4a2ac4caae5d0433 (diff)
Improving a bit the configure options for mutt:
Enable debug
Fix a copy and paste error in --without-sasl

svn path=/nixpkgs/trunk/; revision=23654
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/mutt/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix
index fbc9a08bd68f5..ffe4ca3271265 100644
--- a/pkgs/applications/networking/mailreaders/mutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/mutt/default.nix
@@ -31,6 +31,10 @@ stdenv.mkDerivation {
   
   configureFlags = [
     "--with-mailpath=" "--enable-smtp"
+
+    # This allows calls with "-d N", that output debug info into ~/.muttdebug*
+    "--enable-debug"
+
     # The next allows building mutt without having anything setgid
     # set by the installer, and removing the need for the group 'mail'
     # I set the value 'mailbox' because it is a default in the configure script
@@ -38,7 +42,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")
+    (if saslSupport then "--with-sasl" else "--without-sasl")
   ];
 
   meta = {