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 @@ (define-public emacs
|
|||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((guix-src (assoc-ref inputs "guix-src"))
|
||||
(out (assoc-ref outputs "out"))
|
||||
(lisp-dir (string-append out "/share/emacs/"
|
||||
,(version-major+minor version)
|
||||
"/site-lisp"))
|
||||
(lisp-dir (string-append out "/share/emacs/site-lisp"))
|
||||
(unpack (assoc-ref %standard-phases 'unpack)))
|
||||
(mkdir "guix")
|
||||
(with-directory-excursion "guix"
|
||||
|
|
Loading…
Reference in a new issue