guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: emacs-lsp-mode: Improve package style.


From: guix-commits
Subject: 02/02: gnu: emacs-lsp-mode: Improve package style.
Date: Sat, 6 Apr 2024 11:10:12 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit ab3731d255ff1ac8d6874bc0f68ad94f21f08e79
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Apr 6 17:08:47 2024 +0200

    gnu: emacs-lsp-mode: Improve package style.
    
    * gnu/packages/emacs-xyz.scm (emacs-lsp-mode)[arguments]: Use G-expressions.
    
    Change-Id: Ie2e1afba6e62a7fa4628c8bb7259e2d1f2d73c71
---
 gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++----------------
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]