From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#36109: [bug#40129] [PATCH] gnu: gpa: Add phase wrap-program. Date: Thu, 19 Mar 2020 10:51:05 +0100 Message-ID: <874kukbrli.fsf@devup.no> References: <20200319091937.11811-1-brice@waegenei.re> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47492) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jErqO-0001Wl-3s for bug-guix@gnu.org; Thu, 19 Mar 2020 05:52:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jErqM-0001oY-Sd for bug-guix@gnu.org; Thu, 19 Mar 2020 05:52:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jErqM-0001oB-Oj for bug-guix@gnu.org; Thu, 19 Mar 2020 05:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jErqM-0006kE-M2 for bug-guix@gnu.org; Thu, 19 Mar 2020 05:52:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20200319091937.11811-1-brice@waegenei.re> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Brice Waegeneire , 40129-done@debbugs.gnu.org Cc: 36109-done@debbugs.gnu.org --=-=-= Content-Type: text/plain Brice Waegeneire writes: > Fixes > > * 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'. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5zQIkACgkQoqBt8qM6 VPpXmAf/a0cdKxeN92K1yFhfKt8McRC5gXaGYnq1rT/aUlH08VWEBzRnV0xY3soC 96AezUYlnHI5jBmLS8jPUzVw+lyaYP9qtlG/CvQiu/aScn+WgUSZgdzAKLegGrY0 azQi9T6IzoNZLcfzIXPlmH3pQ8CO1ZDXzAhywIg7sY678LRk6BRbCfuS6Mxv3XBE U/0xxHwZGtepoO/HnLCo4kSFcbPaTwWpyqTtHDQc3SsgWB8mihKaLhRG+g8PGb0c ALoO7c/YbRJuM4KvRYoa6nyZxvdMnVsvqwvUEH3SoTvNa3xvLlMfLhGmFjoykKCy RVphei7C7Aw/BM9mzkZFtyBinTNxfQ== =oOn0 -----END PGP SIGNATURE----- --=-=-=--