Skip to content

Commit

Permalink
Merge pull request #18113 from layus/emacs-closure-size
Browse files Browse the repository at this point in the history
emacs24: nuke extra references to buildInputs
  • Loading branch information
ttuegel authored Aug 30, 2016
2 parents 9420191 + 5b00f40 commit 6b20d5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/editors/emacs-24/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 6b20d5b

Please sign in to comment.