mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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 @@ (define (adjust package result)
|
|||
|
||||
(define (arguments->manifests arguments channels)
|
||||
"Return the list of manifests extracted from ARGUMENTS."
|
||||
(define (channel-name->checkout name)
|
||||
(let ((channel (find (lambda (channel)
|
||||
(eq? (channel-name channel) name))
|
||||
channels)))
|
||||
(channel-url channel)))
|
||||
|
||||
(map (match-lambda
|
||||
((name . path)
|
||||
(let ((checkout (channel-name->checkout name)))
|
||||
(in-vicinity checkout path))))
|
||||
(map (lambda (manifest)
|
||||
(any (lambda (checkout)
|
||||
(let ((path (in-vicinity checkout manifest)))
|
||||
(and (file-exists? path)
|
||||
path)))
|
||||
(map channel-url channels)))
|
||||
arguments))
|
||||
|
||||
(define (manifests->packages store manifests)
|
||||
|
|
Loading…
Reference in a new issue