emacs: patch mailcap.el to find pkgs.mailcap (#387185)

authored by Lin Jian and committed by GitHub 53abe0f4 df85f5d2

+9
+9
pkgs/applications/editors/emacs/make-emacs.nix
··· 46 libxml2, 47 llvmPackages_14, 48 m17n_lib, 49 mailutils, 50 makeWrapper, 51 motif, ··· 242 for makefile_in in $(find . -name Makefile.in -print); do 243 substituteInPlace $makefile_in --replace-warn /bin/pwd pwd 244 done 245 '' 246 247 ""
··· 46 libxml2, 47 llvmPackages_14, 48 m17n_lib, 49 + mailcap, 50 mailutils, 51 makeWrapper, 52 motif, ··· 243 for makefile_in in $(find . -name Makefile.in -print); do 244 substituteInPlace $makefile_in --replace-warn /bin/pwd pwd 245 done 246 + '' 247 + 248 + '' 249 + substituteInPlace lisp/net/mailcap.el \ 250 + --replace-fail '"/etc/mime.types"' \ 251 + '"/etc/mime.types" "${mailcap}/etc/mime.types"' \ 252 + --replace-fail '("/etc/mailcap" system)' \ 253 + '("/etc/mailcap" system) ("${mailcap}/etc/mailcap" system)' 254 '' 255 256 ""