about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/neomutt
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-11-29 08:12:56 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-11-29 08:12:56 +0100
commit9db2421d1f65beb38911e8133349193db0042a1d (patch)
tree90a2f4a56cf871c74aad86138d85e9631c2c2f86 /pkgs/applications/networking/mailreaders/neomutt
parent9caab8ff4a1ad36fbc0ab866f1b0f7c15d35ba90 (diff)
parent8d88e4f6c7b09fe811d92b346e5eafefe07a47c9 (diff)
downloadnixlib-9db2421d1f65beb38911e8133349193db0042a1d.tar
nixlib-9db2421d1f65beb38911e8133349193db0042a1d.tar.gz
nixlib-9db2421d1f65beb38911e8133349193db0042a1d.tar.bz2
nixlib-9db2421d1f65beb38911e8133349193db0042a1d.tar.lz
nixlib-9db2421d1f65beb38911e8133349193db0042a1d.tar.xz
nixlib-9db2421d1f65beb38911e8133349193db0042a1d.tar.zst
nixlib-9db2421d1f65beb38911e8133349193db0042a1d.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/networking/mailreaders/neomutt')
-rw-r--r--pkgs/applications/networking/mailreaders/neomutt/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/networking/mailreaders/neomutt/default.nix b/pkgs/applications/networking/mailreaders/neomutt/default.nix
index f082c241a64c..a8c322b42b83 100644
--- a/pkgs/applications/networking/mailreaders/neomutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/neomutt/default.nix
@@ -1,6 +1,7 @@
 { stdenv, fetchFromGitHub, gettext, makeWrapper, tcl, which, writeScript
 , ncurses, perl , cyrus_sasl, gss, gpgme, kerberos, libidn, libxml2, notmuch, openssl
-, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, mime-types }:
+, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, mailcap
+}:
 
 let
   muttWrapper = writeScript "mutt" ''
@@ -28,7 +29,7 @@ in stdenv.mkDerivation rec {
   buildInputs = [
     cyrus_sasl gss gpgme kerberos libidn ncurses
     notmuch openssl perl lmdb
-    mime-types
+    mailcap
   ];
 
   nativeBuildInputs = [
@@ -47,10 +48,11 @@ in stdenv.mkDerivation rec {
         --replace http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd ${docbook_xml_dtd_42}/xml/dtd/docbook/docbookx.dtd
     done
 
+
     # allow neomutt to map attachments to their proper mime.types if specified wrongly
     # and use a far more comprehensive list than the one shipped with neomutt
     substituteInPlace sendlib.c \
-      --replace /etc/mime.types ${mime-types}/etc/mime.types
+      --replace /etc/mime.types ${mailcap}/etc/mime.types
 
     # The string conversion tests all fail with the first version of neomutt
     # that has tests (20180223) as well as 20180716 so we disable them for now.