[PATCH] gnu: gpa: Add phase wrap-program.

DoneSubmitted by Brice Waegeneire.
Details
2 participants
  • Brice Waegeneire
  • Marius Bakke
Owner
unassigned
Severity
normal
B
B
Brice Waegeneire wrote on 19 Mar 10:19 +0100
(address . guix-patches@gnu.org)
20200319091937.11811-1-brice@waegenei.re
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(+)
Toggle diff (25 lines)diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scmindex 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
M
M
Marius Bakke wrote on 19 Mar 10:51 +0100
(address . 36109-done@debbugs.gnu.org)
874kukbrli.fsf@devup.no
Brice Waegeneire <brice@waegenei.re> writes:
Toggle quote (4 lines)> Fixes https://bugs.gnu.org/36109>> * gnu/packages/gnupg.scm (gpa)[arguments]: Add phase wrap-program.
Applied, thanks!
[...]
Toggle quote (8 lines)> + (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'.
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5zQIkACgkQoqBt8qM6VPpXmAf/a0cdKxeN92K1yFhfKt8McRC5gXaGYnq1rT/aUlH08VWEBzRnV0xY3soC96AezUYlnHI5jBmLS8jPUzVw+lyaYP9qtlG/CvQiu/aScn+WgUSZgdzAKLegGrY0azQi9T6IzoNZLcfzIXPlmH3pQ8CO1ZDXzAhywIg7sY678LRk6BRbCfuS6Mxv3XBEU/0xxHwZGtepoO/HnLCo4kSFcbPaTwWpyqTtHDQc3SsgWB8mihKaLhRG+g8PGb0cALoO7c/YbRJuM4KvRYoa6nyZxvdMnVsvqwvUEH3SoTvNa3xvLlMfLhGmFjoykKCyRVphei7C7Aw/BM9mzkZFtyBinTNxfQ===oOn0-----END PGP SIGNATURE-----
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 40129@debbugs.gnu.org