From: Brice Waegeneire <brice@waegenei.re>
To: 40129@debbugs.gnu.org
Subject: [bug#40129] [PATCH] gnu: gpa: Add phase wrap-program.
Date: Thu, 19 Mar 2020 10:19:37 +0100 [thread overview]
Message-ID: <20200319091937.11811-1-brice@waegenei.re> (raw)
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
next reply other threads:[~2020-03-19 9:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-19 9:19 Brice Waegeneire [this message]
2020-03-19 9:51 ` bug#40129: [PATCH] gnu: gpa: Add phase wrap-program Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200319091937.11811-1-brice@waegenei.re \
--to=brice@waegenei.re \
--cc=40129@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).