GNU bug report logs -
#40129
[PATCH] gnu: gpa: Add phase wrap-program.
Previous Next
Reported by: Brice Waegeneire <brice <at> waegenei.re>
Date: Thu, 19 Mar 2020 09:21:02 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <mbakke <at> fastmail.com>
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 40129 in the body.
You can then email your comments to 40129 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#40129
; Package
guix-patches
.
(Thu, 19 Mar 2020 09:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Brice Waegeneire <brice <at> waegenei.re>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 19 Mar 2020 09:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
You have taken responsibility.
(Thu, 19 Mar 2020 09:52:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Brice Waegeneire <brice <at> waegenei.re>
:
bug acknowledged by developer.
(Thu, 19 Mar 2020 09:52:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 40129-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Brice Waegeneire <brice <at> waegenei.re> 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'.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 16 Apr 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.