diff options
author | Damien Cassou <damien@cassou.me> | 2016-10-07 17:23:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-07 17:23:19 +0200 |
commit | 0e69fb2f196d553e1db04aff46f50868aec42424 (patch) | |
tree | 7643a64b709b9031a5742153bb1f54081666af6c /pkgs/build-support/emacs | |
parent | eca0f17ad20e9604a60efa57c7fa717ee2c8f1b7 (diff) | |
parent | f5a98e49f6e31b67369978cb4aae9287393e1114 (diff) |
Merge pull request #18985 from dudebout/emacs-with-c-src
emacs: add an option to install the C source
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r-- | pkgs/build-support/emacs/wrapper.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index 45931e6914ad4..b13def07bb882 100644 --- a/pkgs/build-support/emacs/wrapper.nix +++ b/pkgs/build-support/emacs/wrapper.nix @@ -85,13 +85,14 @@ stdenv.mkDerivation { done siteStart="$out/share/emacs/site-lisp/site-start.el" + siteStartByteCompiled="$siteStart"c # A dependency may have brought the original siteStart, delete it and # create our own # Begin the new site-start.el by loading the original, which sets some # NixOS-specific paths. Paths are searched in the reverse of the order # they are specified in, so user and system profile paths are searched last. - rm -f $siteStart + rm -f $siteStart $siteStartByteCompiled cat >"$siteStart" <<EOF (load-file "$emacs/share/emacs/site-lisp/site-start.el") (add-to-list 'load-path "$out/share/emacs/site-lisp") |