aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authoremma thompson <bigbookofbug@proton.me>2024-10-05 21:25:40 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-10-15 08:52:38 +0200
commitba2f4fa9c4bd59592bd677d68cb4631bb3f3074a (patch)
tree4fef36bbeb1ebc39291c20e487edf5603532d586 /gnu
parent689eb490a29e1d73767077037c01377ec62262d0 (diff)
downloadguix-ba2f4fa9c4bd59592bd677d68cb4631bb3f3074a.tar
guix-ba2f4fa9c4bd59592bd677d68cb4631bb3f3074a.tar.gz
gnu: emacs-alchemist: Add alchemist-server output.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Change-Id: I0dd3a066eb0903a1f82331a3d3b0cdffbd14e7ff
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 62c8643877..f4645ed118 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4046,6 +4046,18 @@ installed on your machine and launch it.")
(build-system emacs-build-system)
(propagated-inputs
(list emacs-elixir-mode emacs-dash emacs-company emacs-pkg-info))
+ (arguments
+ (list
+ #:phases
+ #~(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")))
+ (mkdir-p server)
+ (copy-recursively "alchemist-server" server)
+ (delete-file-recursively (string-append server "/test"))))))))
(home-page "http://www.github.com/tonini/alchemist.el")
(synopsis "Elixir tooling integration into Emacs")
(description