diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2018-11-27 23:18:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 23:18:29 +0100 |
commit | 483914b30c793b1d88b9e37a4982052eb642d971 (patch) | |
tree | c4743dbaaed5709c169a061513a9d66802b770c6 /pkgs/applications/networking | |
parent | 554c03f31536428579f95cc7d0f3d103a8d1ab23 (diff) | |
parent | 991d4bf68c7242dfb94f6d276c23749afc8c956d (diff) | |
download | nixlib-483914b30c793b1d88b9e37a4982052eb642d971.tar nixlib-483914b30c793b1d88b9e37a4982052eb642d971.tar.gz nixlib-483914b30c793b1d88b9e37a4982052eb642d971.tar.bz2 nixlib-483914b30c793b1d88b9e37a4982052eb642d971.tar.lz nixlib-483914b30c793b1d88b9e37a4982052eb642d971.tar.xz nixlib-483914b30c793b1d88b9e37a4982052eb642d971.tar.zst nixlib-483914b30c793b1d88b9e37a4982052eb642d971.zip |
Merge pull request #50927 from Ma27/fix-smime-for-mutt-and-neomutt
mutt/neomutt: work around S/MIME issues with `application/pgp-encrypted`
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/mailreaders/mutt/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/networking/mailreaders/neomutt/default.nix | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix index f2c097a43752..cb0b8c8f5b79 100644 --- a/pkgs/applications/networking/mailreaders/mutt/default.nix +++ b/pkgs/applications/networking/mailreaders/mutt/default.nix @@ -35,8 +35,8 @@ stdenv.mkDerivation rec { }; patches = optional smimeSupport (fetchpatch { - url = "https://sources.debian.net/src/mutt/1.7.2-1/debian/patches/misc/smime.rc.patch"; - sha256 = "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73"; + url = "https://salsa.debian.org/mutt-team/mutt/raw/debian/1.10.1-2/debian/patches/misc/smime.rc.patch"; + sha256 = "1rl27qqwl4nw321ll5jcvfmkmz4fkvcsh5vihjcrhzzyf6vz8wmj"; }); buildInputs = 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. |