gnu: emacs-transient: Refer to the updated installation directory.

* gnu/packages/emacs-xyz.scm (emacs-transient)[arguments]: Refer to the
updated installation directory.
This commit is contained in:
Clément Lassieur 2019-12-04 12:05:04 +01:00
parent 8f523eb99d
commit 269c827c69
No known key found for this signature in database
GPG key ID: 89F96D4808F359C7

View file

@ -17804,19 +17804,14 @@ (define-public emacs-transient
#:imported-modules (,@%gnu-build-system-modules #:imported-modules (,@%gnu-build-system-modules
(guix build emacs-utils)) (guix build emacs-utils))
#:tests? #f ; tests are not included in the release #:tests? #f ; tests are not included in the release
#:make-flags (list "lisp" "info" #:make-flags (list "lisp" "info")
(string-append "LOAD_PATH=-L . -L "
(assoc-ref %build-inputs "dash")
"/share/emacs/site-lisp/guix.d/dash-"
,(package-version emacs-dash)))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(replace 'install (replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(lisp (string-append out "/share/emacs/site-lisp/guix.d/" (lisp (string-append out "/share/emacs/site-lisp"))
"transient" "-" ,version))
(info (string-append out "/share/info"))) (info (string-append out "/share/info")))
(for-each (cut install-file <> lisp) (for-each (cut install-file <> lisp)
(find-files "." "\\.elc*$")) (find-files "." "\\.elc*$"))