forked from mirrors/nixpkgs
neomutt: specify path to mime.types
Neomutt will by default look for /etc/mime.types which isn't present in order to map file extensions to mime types. If this file isn't found, and a message has a png attached with application/octet-stream mime type, neomutt will not know what to do with it.
This commit is contained in:
parent
68a703b405
commit
dc7ea3f94f
|
@ -42,6 +42,10 @@ in stdenv.mkDerivation rec {
|
|||
--replace http://docbook.sourceforge.net/release/xsl/current ${docbook_xsl}/share/xml/docbook-xsl \
|
||||
--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
|
||||
substituteInPlace sendlib.c \
|
||||
--replace /etc/mime.types $out/share/doc/neomutt/mime.types
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
|
Loading…
Reference in a new issue