1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

gnu: emacs-alchemist: Use elpa-directory.

* gnu/packages/emacs-xyz.scm (emacs-alchemist)[arguments]<phases>: Use
elpa-directory.

Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
Nicolas Graves 2025-05-18 10:16:48 +02:00 committed by Liliana Marie Prikler
parent 85f2ff1193
commit 0349c5a025
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -4683,9 +4683,8 @@ installed on your machine and launch it.")
#~(modify-phases %standard-phases
(add-after 'install 'install-server
(lambda _
(let ((server (string-append #$output
"/share/emacs/site-lisp/"
"alchemist-1.8.2/alchemist-server")))
(let ((server (string-append (elpa-directory #$output)
"/alchemist-server")))
(mkdir-p server)
(copy-recursively "alchemist-server" server)
(delete-file-recursively (string-append server "/test"))))))))