emacsWrapper: remove site-start.elc
This commit is contained in:
parent
7e7d588ca9
commit
9c3852538c
|
@ -85,13 +85,14 @@ stdenv.mkDerivation {
|
||||||
done
|
done
|
||||||
|
|
||||||
siteStart="$out/share/emacs/site-lisp/site-start.el"
|
siteStart="$out/share/emacs/site-lisp/site-start.el"
|
||||||
|
siteStartByteCompiled="$siteStart"c
|
||||||
|
|
||||||
# A dependency may have brought the original siteStart, delete it and
|
# A dependency may have brought the original siteStart, delete it and
|
||||||
# create our own
|
# create our own
|
||||||
# Begin the new site-start.el by loading the original, which sets some
|
# 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
|
# 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.
|
# they are specified in, so user and system profile paths are searched last.
|
||||||
rm -f $siteStart
|
rm -f $siteStart $siteStartByteCompiled
|
||||||
cat >"$siteStart" <<EOF
|
cat >"$siteStart" <<EOF
|
||||||
(load-file "$emacs/share/emacs/site-lisp/site-start.el")
|
(load-file "$emacs/share/emacs/site-lisp/site-start.el")
|
||||||
(add-to-list 'load-path "$out/share/emacs/site-lisp")
|
(add-to-list 'load-path "$out/share/emacs/site-lisp")
|
||||||
|
|
Loading…
Reference in New Issue