about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorlethalman <lucabru@src.gnome.org>2014-11-19 18:02:09 +0100
committerlethalman <lucabru@src.gnome.org>2014-11-19 18:02:09 +0100
commitf0e4b745f70463280f1d32923a64c9d872a89604 (patch)
tree0d3bbbc127985628ec5e2a417170cc97ba64fca4 /pkgs/applications/networking/mailreaders
parent44628e9e90b680af5472c2655dfb2b4ec63ab1a6 (diff)
parent9c658343dd2a6bc27e6e98c4c255fb44561151ca (diff)
downloadnixlib-f0e4b745f70463280f1d32923a64c9d872a89604.tar
nixlib-f0e4b745f70463280f1d32923a64c9d872a89604.tar.gz
nixlib-f0e4b745f70463280f1d32923a64c9d872a89604.tar.bz2
nixlib-f0e4b745f70463280f1d32923a64c9d872a89604.tar.lz
nixlib-f0e4b745f70463280f1d32923a64c9d872a89604.tar.xz
nixlib-f0e4b745f70463280f1d32923a64c9d872a89604.tar.zst
nixlib-f0e4b745f70463280f1d32923a64c9d872a89604.zip
Merge pull request #5046 from abbradar/checksum-fixes
Checksum fixes
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/mutt/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix
index 744e68b402d5..7c60864b486c 100644
--- a/pkgs/applications/networking/mailreaders/mutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/mutt/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, ncurses, which, perl, automake, autoconf
+{ stdenv, fetchurl, ncurses, which, perl, autoreconfHook
 , sslSupport ? true
 , imapSupport ? true
 , headerCache ? true
@@ -14,6 +14,7 @@
 assert headerCache -> gdbm != null;
 assert sslSupport -> openssl != null;
 assert saslSupport -> cyrus_sasl != null;
+assert gpgmeSupport -> gpgme != null;
 
 let
   version = "1.5.23";
@@ -26,15 +27,14 @@ stdenv.mkDerivation rec {
     sha256 = "0dzx4qk50pjfsb6cs5jahng96a52k12f7pm0sc78iqdrawg71w1s";
   };
 
-  buildInputs = [
-    ncurses which perl
-    (if headerCache then gdbm else null)
-    (if sslSupport then openssl else null)
-    (if saslSupport then cyrus_sasl else null)
-    (if gpgmeSupport then gpgme else null)
-  ]
-  ++ (stdenv.lib.optionals withSidebar [automake autoconf])
-  ;
+  buildInputs = with stdenv.lib;
+    [ ncurses which perl ]
+    ++ optional headerCache gdbm
+    ++ optional sslSupport openssl
+    ++ optional saslSupport cyrus_sasl
+    ++ optional gpgmeSupport gpgme;
+
+  nativeBuildInputs = stdenv.lib.optional withSidebar autoreconfHook;
 
   configureFlags = [
     "--with-mailpath=" "--enable-smtp"