guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-lsp-mode: Move all client libraries at


From: guix-commits
Subject: branch master updated: gnu: emacs-lsp-mode: Move all client libraries at top-level.
Date: Tue, 07 Sep 2021 03:44:08 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d905c34  gnu: emacs-lsp-mode: Move all client libraries at top-level.
d905c34 is described below

commit d905c347663deb896e4825cc3f3a65cd900d53aa
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Sep 7 09:42:45 2021 +0200

    gnu: emacs-lsp-mode: Move all client libraries at top-level.
    
    * gnu/packages/emacs-xyz.scm (emacs-lsp-mode)[arguments]<#:phases>: Move all
    client libraries at top-level.  <#:emacs>: Use full Emacs for libxml 
support.
---
 gnu/packages/emacs-xyz.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index daa9cbf..541aaa9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23557,10 +23557,16 @@ the standard @code{Dockerfile} file format.")
         (base32 "1a6jc9sxf9b8fj9h8xlv5k546bkzsy8j5nj19cfama389z0bzcsl"))))
     (build-system emacs-build-system)
     (arguments
-     `(#:include (cons "^clients/" %default-include)
-       ;; FIXME: Ignore the following file, which cannot be compiled properly,
-       ;; because it tries to load another client from the same directory.
-       #:exclude (list "clients/lsp-vetur\\.el")))
+     `(#: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$")))))))
     (propagated-inputs
      `(("emacs-dash" ,emacs-dash)
        ("emacs-f" ,emacs-f)



reply via email to

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