···4445 postPatch = ''
46 sed -i 's|/usr/share/locale|${gettext}/share/locale|g' lisp/international/mule-cmds.el
47+ # emacs runs then dumps itself. In the process, it keeps a copy of the
48+ # PATH env var, holding all the build inputs in it's closure.
49+ # Prevent that by running the self-dumping emacs with an empty PATH.
50+ sed -i 's|^RUN_TEMACS = |&PATH= |' src/Makefile.in
51 '';
5253 buildInputs =