GNU bug report logs - #50156
[PATCH] gnu: emacs-vertico: Add new phase after unpack.

Previous Next

Package: guix-patches;

Reported by: Alexandr Vityazev <avityazev <at> posteo.org>

Date: Sat, 21 Aug 2021 21:59:02 UTC

Severity: normal

Tags: patch

Done: Brice Waegeneire <brice <at> waegenei.re>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50156 in the body.
You can then email your comments to 50156 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#50156; Package guix-patches. (Sat, 21 Aug 2021 21:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandr Vityazev <avityazev <at> posteo.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 21 Aug 2021 21:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexandr Vityazev <avityazev <at> posteo.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: emacs-vertico: Add new phase after unpack.
Date: Sat, 21 Aug 2021 21:58:41 +0000
* 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




Reply sent to Brice Waegeneire <brice <at> waegenei.re>:
You have taken responsibility. (Thu, 26 Aug 2021 20:06:02 GMT) Full text and rfc822 format available.

Notification sent to Alexandr Vityazev <avityazev <at> posteo.org>:
bug acknowledged by developer. (Thu, 26 Aug 2021 20:06:02 GMT) Full text and rfc822 format available.

Message #10 received at 50156-done <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: Alexandr Vityazev <avityazev <at> posteo.org>
Cc: 50156-done <at> debbugs.gnu.org
Subject: Re: bug#50156: [PATCH] gnu: emacs-vertico: Add new phase after unpack.
Date: Thu, 26 Aug 2021 22:05:47 +0200
Hello Alexandr,

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

Cheers,
- Brice




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 24 Sep 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.