Merge pull request #18113 from layus/emacs-closure-size

emacs24: nuke extra references to buildInputs

authored by Thomas Tuegel and committed by GitHub 6b20d5b7 94201919

+4
+4
pkgs/applications/editors/emacs-24/default.nix
··· 44 44 45 45 postPatch = '' 46 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 47 51 ''; 48 52 49 53 buildInputs =