From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJfOZ-0004TN-4a for guix-patches@gnu.org; Fri, 18 May 2018 09:26:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJfOU-0000AZ-VE for guix-patches@gnu.org; Fri, 18 May 2018 09:26:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59641) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJfOU-0000AO-QY for guix-patches@gnu.org; Fri, 18 May 2018 09:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fJfOU-0002Cm-Gh for guix-patches@gnu.org; Fri, 18 May 2018 09:26:02 -0400 Subject: [bug#31488] [PATCH] gnu: git: Add "credential-netrc" output. Resent-Message-ID: References: <20180518092207.2457-1-ambrevar@gmail.com> <05bf126b898739e7f24a31d6e0778853@tobias.gr> From: Pierre Neidhardt In-reply-to: <05bf126b898739e7f24a31d6e0778853@tobias.gr> Date: Fri, 18 May 2018 15:25:03 +0200 Message-ID: <87k1s185ao.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: 31488@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/packages/version-control.scm (git): Add "credential-netrc" output. =2D-- gnu/packages/version-control.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-contro= l.scm index b41529d4f..13861d251 100644 =2D-- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -188,6 +188,7 @@ as well as the classic centralized workflow.") (outputs '("out" ; the core "send-email" ; for git-send-email "svn" ; git-svn + "credential-netrc" ; git-credential-netrc "gui")) ; gitk, git gui (arguments `(#:make-flags `("V=3D1" ;more verbose compilat= ion @@ -271,6 +272,12 @@ as well as the classic centralized workflow.") (copy-file "contrib/completion/git-completion.bash" (string-append completions "/git")) #t))) + (add-after 'install 'install-credential-netrc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((netrc (assoc-ref outputs "credential-netrc"))) + (install-file "contrib/credential/netrc/git-credential-netrc" + (string-append netrc "/bin")) + #t))) (add-after 'install 'split (lambda* (#:key inputs outputs #:allow-other-keys) ;; Split the binaries to the various outputs. =2D-=20 2.17.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlr+1C8ACgkQm9z0l6S7 zH9wOQf9HhOyuOuFSCoPfSQQ9b+MGU4QXeeYiCsLsr1GJEkKd1DC9YpSBtC1VpbQ VsvJQng/5CiOST81A9JCowToruMlYBFYq8QEGnr5n9MfQb441YpL8n99c5W9YxV7 Uf4sJ2wvgF1Dx/JQfleW+kQ99yYJwGGm5vkj3MfKMiQ/MlwMXaeSl0zUka+8+oMt LPoXMHpy+ghnJ1vLwfztBl+cFHgfrMBxRe2yPMxZQp/fSmAGl75S4D+Yb6s3t1mD adYnGVizmzXU6sWCNUPDGpLfxf7esjMtuZZqfsL7E4Fz3duM3n4+EZYPDlEWsZKl TBfG7G7FTNLs6xmBhSsGxQaPYue+lg== =EAzd -----END PGP SIGNATURE----- --=-=-=--