gnu: git: Add "credential-netrc" output.
* gnu/packages/version-control.scm (git): Add "credential-netrc" output. Signed-off-by: Gábor Boskovits <boskovits@gmail.com>
This commit is contained in:
parent
cf81ddefc8
commit
145b06938c
|
@ -191,6 +191,7 @@ as well as the classic centralized workflow.")
|
||||||
(outputs '("out" ; the core
|
(outputs '("out" ; the core
|
||||||
"send-email" ; for git-send-email
|
"send-email" ; for git-send-email
|
||||||
"svn" ; git-svn
|
"svn" ; git-svn
|
||||||
|
"credential-netrc" ; git-credential-netrc
|
||||||
"gui")) ; gitk, git gui
|
"gui")) ; gitk, git gui
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags `("V=1" ;more verbose compilation
|
`(#:make-flags `("V=1" ;more verbose compilation
|
||||||
|
@ -274,6 +275,12 @@ as well as the classic centralized workflow.")
|
||||||
(copy-file "contrib/completion/git-completion.bash"
|
(copy-file "contrib/completion/git-completion.bash"
|
||||||
(string-append completions "/git"))
|
(string-append completions "/git"))
|
||||||
#t)))
|
#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
|
(add-after 'install 'split
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
;; Split the binaries to the various outputs.
|
;; Split the binaries to the various outputs.
|
||||||
|
|
Loading…
Reference in New Issue