aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-04-06 17:08:47 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-04-06 17:08:47 +0200
commitab3731d255ff1ac8d6874bc0f68ad94f21f08e79 (patch)
treecd33bf26d0ee4f62e6e9693d9f2894e6699830c3 /gnu
parent106c16fc8eb8870a7d937a181b64df0a3ab75877 (diff)
downloadguix-ab3731d255ff1ac8d6874bc0f68ad94f21f08e79.tar.gz
guix-ab3731d255ff1ac8d6874bc0f68ad94f21f08e79.zip
gnu: emacs-lsp-mode: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-lsp-mode)[arguments]: Use G-expressions. Change-Id: Ie2e1afba6e62a7fa4628c8bb7259e2d1f2d73c71
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm33
1 files changed, 17 insertions, 16 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bea04594f8..53fcef869b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30692,22 +30692,23 @@ the standard @code{Dockerfile} file format.")
(base32 "1p4979qbmllmmszmnyml0msxkza4pm14rdacmqczbfs3cs9n6bd3"))))
(build-system emacs-build-system)
(arguments
- `(#:emacs ,emacs ;need libxml support
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'move-clients-libraries
- ;; Move all clients libraries at top-level, as is done, e.g., in
- ;; MELPA.
- (lambda _
- (for-each (lambda (f)
- (install-file f "."))
- (find-files "clients/" "\\.el$"))))
- (add-before 'move-clients-libraries 'fix-patch-el-files
- ;; /bin/ksh is only used on macOS, which we don't support, so we
- ;; don't want to add it as input.
- (lambda _
- (substitute* '("clients/lsp-csharp.el" "clients/lsp-fsharp.el")
- (("/bin/ksh") "ksh")))))))
+ (list
+ #:emacs emacs ;need libxml support
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'move-clients-libraries
+ ;; Move all clients libraries at top-level, as is done, e.g., in
+ ;; MELPA.
+ (lambda _
+ (for-each (lambda (f)
+ (install-file f "."))
+ (find-files "clients/" "\\.el$"))))
+ (add-before 'move-clients-libraries 'fix-patch-el-files
+ ;; /bin/ksh is only used on macOS, which we don't support, so we
+ ;; don't want to add it as input.
+ (lambda _
+ (substitute* '("clients/lsp-csharp.el" "clients/lsp-fsharp.el")
+ (("/bin/ksh") "ksh")))))))
(propagated-inputs
(list emacs-dash
emacs-f