git-download: Fix recursive checkouts.
* guix/git-download.scm (git-fetch)<build>: Fix match on INPUTS, which may contain package outputs.
This commit is contained in:
parent
109b2f7c93
commit
be95bcf088
@ -109,7 +109,7 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f."
|
|||||||
;; grep, etc. to be in $PATH.
|
;; grep, etc. to be in $PATH.
|
||||||
(set-path-environment-variable "PATH" '("bin")
|
(set-path-environment-variable "PATH" '("bin")
|
||||||
(match '#+inputs
|
(match '#+inputs
|
||||||
(((names dirs) ...)
|
(((names dirs outputs ...) ...)
|
||||||
dirs)))
|
dirs)))
|
||||||
|
|
||||||
(or (git-fetch (getenv "git url") (getenv "git commit")
|
(or (git-fetch (getenv "git url") (getenv "git commit")
|
||||||
|
Loading…
Reference in New Issue
Block a user