mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 19:35:25 -05:00
gnu: emacs-corfu: Add new phase after unpack.
* gnu/packages/emacs-xyz.scm (emacs-corfu)[arguments]<#:phases>: After the unpack phase add a move-source-files phase.
This commit is contained in:
parent
a27804a353
commit
4809f290ab
1 changed files with 11 additions and 0 deletions
|
@ -3068,6 +3068,17 @@ (define-public emacs-corfu
|
|||
(sha256
|
||||
(base32 "062lxyqh7nfaixmgfgmqfbkainxc8ypdkj6qjq38xigk55s7c5wk"))))
|
||||
(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)))))))
|
||||
(home-page "https://github.com/minad/corfu")
|
||||
(synopsis "Completion overlay region function")
|
||||
(description "Corfu enhances the default completion in region function
|
||||
|
|
Loading…
Reference in a new issue