mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: emacs-vertico: Add new phase after unpack.
* gnu/packages/emacs-xyz.scm (emacs-vertico)[arguments]<phases>: After the unpack phase add a move-source-files phase.
This commit is contained in:
parent
399e3ee7b7
commit
b4d132f98e
1 changed files with 12 additions and 0 deletions
|
@ -29187,6 +29187,18 @@ (define-public emacs-vertico
|
|||
(sha256
|
||||
(base32 "0rddk76ih44b574lsr6d6r9wa2l7c9zlb9kcyw5xvly17ciiq16h"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; Move the extensions source files to the top level, which is included in
|
||||
;; the EMACSLOADPATH.
|
||||
(add-after 'unpack 'move-source-files
|
||||
(lambda _
|
||||
(let ((el-files (find-files "./extensions" ".*\\.el$")))
|
||||
(for-each (lambda (f)
|
||||
(rename-file f (basename f)))
|
||||
el-files))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("texinfo" ,texinfo)))
|
||||
(home-page "https://github.com/minad/vertico")
|
||||
|
|
Loading…
Reference in a new issue