gnu: emacs: Install site-start.el in non-versioned directory.
Reported by Ricardo Wurmus on #guix. * gnu/packages/emacs.scm (emacs)[arguments]: Put "site-start.el" in "/share/emacs/site-lisp" instead of "/share/emacs/<version>/site-lisp" to let inherited package with another version find it.
This commit is contained in:
parent
07f7cc03ce
commit
c48899eba2
|
@ -125,9 +125,7 @@
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((guix-src (assoc-ref inputs "guix-src"))
|
(let* ((guix-src (assoc-ref inputs "guix-src"))
|
||||||
(out (assoc-ref outputs "out"))
|
(out (assoc-ref outputs "out"))
|
||||||
(lisp-dir (string-append out "/share/emacs/"
|
(lisp-dir (string-append out "/share/emacs/site-lisp"))
|
||||||
,(version-major+minor version)
|
|
||||||
"/site-lisp"))
|
|
||||||
(unpack (assoc-ref %standard-phases 'unpack)))
|
(unpack (assoc-ref %standard-phases 'unpack)))
|
||||||
(mkdir "guix")
|
(mkdir "guix")
|
||||||
(with-directory-excursion "guix"
|
(with-directory-excursion "guix"
|
||||||
|
|
Loading…
Reference in New Issue