gnu: guix: Add dependency on Guile-Git.

* gnu/packages/package-management.scm (guix)[arguments] <wrap-program>:
Add Guile-Git to PATH.
[propagated-inputs]: Add GUILE-GIT.
(guile2.0-guix)[propagated-inputs]: Add GUILE2.0-GIT.
This commit is contained in:
Ludovic Courtès 2017-07-28 17:52:21 +02:00
parent 3a53759807
commit 9ca8aa38ec
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -187,6 +187,7 @@ (define (copy arch)
(let* ((out (assoc-ref outputs "out"))
(guile (assoc-ref inputs "guile"))
(json (assoc-ref inputs "guile-json"))
(git (assoc-ref inputs "guile-git"))
(ssh (assoc-ref inputs "guile-ssh"))
(gnutls (assoc-ref inputs "gnutls"))
(effective
@ -196,6 +197,7 @@ (define (copy arch)
"-c" "(display (effective-version))")))
(path (string-append
json "/share/guile/site/" effective ":"
git "/share/guile/site/" effective ":"
ssh "/share/guile/site/" effective ":"
gnutls "/share/guile/site/" effective)))
@ -252,7 +254,8 @@ (define (copy arch)
(propagated-inputs
`(("gnutls" ,gnutls/guile-2.2) ;for 'guix download' & co.
("guile-json" ,guile-json)
("guile-ssh" ,guile-ssh)))
("guile-ssh" ,guile-ssh)
("guile-git" ,guile-git)))
(home-page "https://www.gnu.org/software/guix/")
(synopsis "Functional package manager for installed software packages and versions")
@ -278,7 +281,8 @@ (define-public guile2.0-guix
(propagated-inputs
`(("gnutls" ,gnutls)
("guile-json" ,guile2.0-json)
("guile-ssh" ,guile2.0-ssh)))))
("guile-ssh" ,guile2.0-ssh)
("guile-git" ,guile2.0-git)))))
(define (source-file? file stat)
"Return true if FILE is likely a source file, false if it is a typical