ci: Change manifest argument type.
* gnu/ci.scm (arguments->manifests): Change manifest argument type.
This commit is contained in:
parent
d1e1682749
commit
862af8c2ed
1 changed files with 6 additions and 10 deletions
16
gnu/ci.scm
16
gnu/ci.scm
|
@ -423,16 +423,12 @@ valid."
|
||||||
|
|
||||||
(define (arguments->manifests arguments channels)
|
(define (arguments->manifests arguments channels)
|
||||||
"Return the list of manifests extracted from ARGUMENTS."
|
"Return the list of manifests extracted from ARGUMENTS."
|
||||||
(define (channel-name->checkout name)
|
(map (lambda (manifest)
|
||||||
(let ((channel (find (lambda (channel)
|
(any (lambda (checkout)
|
||||||
(eq? (channel-name channel) name))
|
(let ((path (in-vicinity checkout manifest)))
|
||||||
channels)))
|
(and (file-exists? path)
|
||||||
(channel-url channel)))
|
path)))
|
||||||
|
(map channel-url channels)))
|
||||||
(map (match-lambda
|
|
||||||
((name . path)
|
|
||||||
(let ((checkout (channel-name->checkout name)))
|
|
||||||
(in-vicinity checkout path))))
|
|
||||||
arguments))
|
arguments))
|
||||||
|
|
||||||
(define (manifests->packages store manifests)
|
(define (manifests->packages store manifests)
|
||||||
|
|
Reference in a new issue