mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
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.
This commit is contained in:
parent
4610f44efd
commit
d905c34766
1 changed files with 10 additions and 4 deletions
|
@ -23557,10 +23557,16 @@ (define-public emacs-lsp-mode
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue