mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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 @@ of bibliographic references.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "062lxyqh7nfaixmgfgmqfbkainxc8ypdkj6qjq38xigk55s7c5wk"))))
|
(base32 "062lxyqh7nfaixmgfgmqfbkainxc8ypdkj6qjq38xigk55s7c5wk"))))
|
||||||
(build-system emacs-build-system)
|
(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")
|
(home-page "https://github.com/minad/corfu")
|
||||||
(synopsis "Completion overlay region function")
|
(synopsis "Completion overlay region function")
|
||||||
(description "Corfu enhances the default completion in region function
|
(description "Corfu enhances the default completion in region function
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue