emacs: patch mailcap.el to find pkgs.mailcap (#387185)
This commit is contained in:
commit
53abe0f4b6
@ -46,6 +46,7 @@
|
|||||||
libxml2,
|
libxml2,
|
||||||
llvmPackages_14,
|
llvmPackages_14,
|
||||||
m17n_lib,
|
m17n_lib,
|
||||||
|
mailcap,
|
||||||
mailutils,
|
mailutils,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
motif,
|
motif,
|
||||||
@ -244,6 +245,14 @@ mkDerivation (finalAttrs: {
|
|||||||
done
|
done
|
||||||
''
|
''
|
||||||
|
|
||||||
|
''
|
||||||
|
substituteInPlace lisp/net/mailcap.el \
|
||||||
|
--replace-fail '"/etc/mime.types"' \
|
||||||
|
'"/etc/mime.types" "${mailcap}/etc/mime.types"' \
|
||||||
|
--replace-fail '("/etc/mailcap" system)' \
|
||||||
|
'("/etc/mailcap" system) ("${mailcap}/etc/mailcap" system)'
|
||||||
|
''
|
||||||
|
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user