mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
ci: Support packages with multiple channels.
This is a follow-up of 61a1165340
. For packages
provided by external channels, package-channels procedure will return at least
two channels. Take it into account.
* gnu/ci.scm (cuirass-jobs): Fix channels subset argument.
This commit is contained in:
parent
b76762a9b7
commit
cbfcbb79df
1 changed files with 4 additions and 5 deletions
|
@ -527,11 +527,10 @@ (define source
|
||||||
(let ((all (all-packages)))
|
(let ((all (all-packages)))
|
||||||
(filter-map
|
(filter-map
|
||||||
(lambda (package)
|
(lambda (package)
|
||||||
(match (package-channels package)
|
(any (lambda (channel)
|
||||||
((channel . _)
|
(and (member (channel-name channel) channels)
|
||||||
(and (member (channel-name channel) channels)
|
(package->job store package system)))
|
||||||
(package->job store package system)))
|
(package-channels package)))
|
||||||
(else #f)))
|
|
||||||
all)))
|
all)))
|
||||||
(('packages . rest)
|
(('packages . rest)
|
||||||
;; Build selected list of packages only.
|
;; Build selected list of packages only.
|
||||||
|
|
Loading…
Reference in a new issue