emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40129: closed ([PATCH] gnu: gpa: Add phase wrap-program.)


From: GNU bug Tracking System
Subject: bug#40129: closed ([PATCH] gnu: gpa: Add phase wrap-program.)
Date: Thu, 19 Mar 2020 09:52:03 +0000

Your message dated Thu, 19 Mar 2020 10:51:05 +0100
with message-id <address@hidden>
and subject line Re: [bug#40129] [PATCH] gnu: gpa: Add phase wrap-program.
has caused the debbugs.gnu.org bug report #40129,
regarding [PATCH] gnu: gpa: Add phase wrap-program.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
40129: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40129
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: gpa: Add phase wrap-program. Date: Thu, 19 Mar 2020 10:19:37 +0100
Fixes <https://bugs.gnu.org/36109>

* gnu/packages/gnupg.scm (gpa)[arguments]: Add phase wrap-program.
---
 gnu/packages/gnupg.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index c5c3d5263f..30658c7cb7 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -975,6 +975,16 @@ however, pgpdump produces more detailed and easier to 
understand output.")
                (base32
                 "1cbpc45f8qbdkd62p12s3q2rdq6fa5xdzwmcwd3xrj55bzkspnwm"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap-program
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out"))
+                   (gnupg (assoc-ref inputs "gnupg")))
+               (wrap-program (string-append out "/bin/gpa")
+                 `("PATH" ":" prefix (,(string-append gnupg "/bin")))
+                 )))))))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs

base-commit: 771c5e155d7862ed91a5d503eecc00c1db1150ad
-- 
2.25.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#40129] [PATCH] gnu: gpa: Add phase wrap-program. Date: Thu, 19 Mar 2020 10:51:05 +0100 User-agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu)
Brice Waegeneire <address@hidden> writes:

> Fixes <https://bugs.gnu.org/36109>
>
> * gnu/packages/gnupg.scm (gpa)[arguments]: Add phase wrap-program.

Applied, thanks!

[...]

> +         (add-after 'install 'wrap-program
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let ((out (assoc-ref outputs "out"))
> +                   (gnupg (assoc-ref inputs "gnupg")))
> +               (wrap-program (string-append out "/bin/gpa")
> +                 `("PATH" ":" prefix (,(string-append gnupg "/bin")))
> +                 )))))))

I ended this phase on a #t and fixed the lonely parens as reported by
'guix lint gpa'.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]