[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: emacs-corfu: Add new phase after unpack.
From: |
guix-commits |
Subject: |
01/06: gnu: emacs-corfu: Add new phase after unpack. |
Date: |
Tue, 26 Apr 2022 22:34:56 -0400 (EDT) |
monego pushed a commit to branch master
in repository guix.
commit 4809f290ab72ffae9bed526e3ece3af9a41479de
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Tue Apr 26 23:02:09 2022 -0300
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.
---
gnu/packages/emacs-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e8dca21707..92bd8ded4d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3068,6 +3068,17 @@ of bibliographic references.")
(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
- branch master updated (a27804a353 -> fb2c136eb3), guix-commits, 2022/04/26
- 05/06: gnu: emacs-org-roam: Update to 2.2.2., guix-commits, 2022/04/26
- 06/06: gnu: emacs-elpher: Update to 3.3.3., guix-commits, 2022/04/26
- 01/06: gnu: emacs-corfu: Add new phase after unpack.,
guix-commits <=
- 03/06: gnu: emacs-vertico: Update to 0.23., guix-commits, 2022/04/26
- 02/06: gnu: emacs-consult: Update to 0.17., guix-commits, 2022/04/26
- 04/06: gnu: emacs-org-re-reveal: Update to 3.13.0., guix-commits, 2022/04/26