gnu: cedille: Remove guix.d from the Elisp installation directory.
* gnu/packages/cedille.scm (cedille)[phases]{patch-cedille-path-el}: Update the Elisp installation prefix used. {copy-cedille-mode}: Likewise.master
parent
d53e87cf11
commit
0a3ce07784
|
@ -56,17 +56,12 @@
|
|||
(let ((out (assoc-ref outputs "out")))
|
||||
(substitute* "cedille-mode.el"
|
||||
(("/usr/share/emacs/site-lisp/cedille-mode")
|
||||
(string-append
|
||||
out "/share/emacs/site-lisp/guix.d/cedille-"
|
||||
,version)))
|
||||
(string-append out "/share/emacs/site-lisp")))
|
||||
#t)))
|
||||
(add-after 'unpack 'copy-cedille-mode
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(lisp
|
||||
(string-append
|
||||
out "/share/emacs/site-lisp/guix.d/cedille-"
|
||||
,version "/")))
|
||||
(lisp (string-append out "/share/emacs/site-lisp")))
|
||||
(mkdir-p (string-append lisp "cedille-mode"))
|
||||
(copy-recursively
|
||||
"cedille-mode"
|
||||
|
|
Reference in New Issue