all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50156] [PATCH] gnu: emacs-vertico: Add new phase after unpack.
@ 2021-08-21 21:58 Alexandr Vityazev
  2021-08-26 20:05 ` bug#50156: " Brice Waegeneire
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandr Vityazev @ 2021-08-21 21:58 UTC (permalink / raw)
  To: 50156

* gnu/packages/emacs-xyz.scm (emacs-vertico)[arguments]<phases>:
After the unpack phase add a move-source-files phase.
---
 gnu/packages/emacs-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bea6288976..27029b2977 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -29166,6 +29166,18 @@ and preferred services can easily be configured.")
        (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")
-- 
2.33.0



-- 

Alexandr Vityazev




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#50156: [PATCH] gnu: emacs-vertico: Add new phase after unpack.
  2021-08-21 21:58 [bug#50156] [PATCH] gnu: emacs-vertico: Add new phase after unpack Alexandr Vityazev
@ 2021-08-26 20:05 ` Brice Waegeneire
  0 siblings, 0 replies; 2+ messages in thread
From: Brice Waegeneire @ 2021-08-26 20:05 UTC (permalink / raw)
  To: Alexandr Vityazev; +Cc: 50156-done

Hello Alexandr,

Thank you for the patch, it has been pushed as
b4d132f98e03fae559db832e88897f1e166c4d47.

Cheers,
- Brice




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-26 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21 21:58 [bug#50156] [PATCH] gnu: emacs-vertico: Add new phase after unpack Alexandr Vityazev
2021-08-26 20:05 ` bug#50156: " Brice Waegeneire

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.