From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:39202) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jErMN-0004am-PE for guix-patches@gnu.org; Thu, 19 Mar 2020 05:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jErMM-0006VK-Lb for guix-patches@gnu.org; Thu, 19 Mar 2020 05:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jErMM-0006V2-Ig for guix-patches@gnu.org; Thu, 19 Mar 2020 05:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jErMM-0005th-Cb for guix-patches@gnu.org; Thu, 19 Mar 2020 05:21:02 -0400 Subject: [bug#40129] [PATCH] gnu: gpa: Add phase wrap-program. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:38787) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jErLM-0004Tr-Mj for guix-patches@gnu.org; Thu, 19 Mar 2020 05:20:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jErLL-0005D9-9g for guix-patches@gnu.org; Thu, 19 Mar 2020 05:20:00 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:51375) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jErLL-00059A-3z for guix-patches@gnu.org; Thu, 19 Mar 2020 05:19:59 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 2C8D4100008 for ; Thu, 19 Mar 2020 09:19:53 +0000 (UTC) From: Brice Waegeneire Date: Thu, 19 Mar 2020 10:19:37 +0100 Message-Id: <20200319091937.11811-1-brice@waegenei.re> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40129@debbugs.gnu.org Fixes * 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