1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-12 08:01:50 +00:00

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

emacs24: nuke extra references to buildInputs
This commit is contained in:
Thomas Tuegel 2016-08-30 08:17:58 -05:00 committed by GitHub
commit 6b20d5b75e

View file

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