summaryrefslogtreecommitdiff
path: root/gnu/ci.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-03-14 19:30:36 +0100
committerMathieu Othacehe <othacehe@gnu.org>2021-03-14 19:43:35 +0100
commitcbfcbb79df41c2485716e12874424215d9840e3d (patch)
tree82203ccfaa44603fe5543c311c04fedfa1226f68 /gnu/ci.scm
parentb76762a9b7f723ec59302927dde488c80f7f4ee9 (diff)
ci: Support packages with multiple channels.
This is a follow-up of 61a1165340a8bcc45550259edca25275d899fe09. 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.
Diffstat (limited to 'gnu/ci.scm')
-rw-r--r--gnu/ci.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/ci.scm b/gnu/ci.scm
index 664cabfec65..acd05a18b47 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -527,11 +527,10 @@ valid."
527 (let ((all (all-packages))) 527 (let ((all (all-packages)))
528 (filter-map 528 (filter-map
529 (lambda (package) 529 (lambda (package)
530 (match (package-channels package) 530 (any (lambda (channel)
531 ((channel . _) 531 (and (member (channel-name channel) channels)
532 (and (member (channel-name channel) channels) 532 (package->job store package system)))
533 (package->job store package system))) 533 (package-channels package)))
534 (else #f)))
535 all))) 534 all)))
536 (('packages . rest) 535 (('packages . rest)
537 ;; Build selected list of packages only. 536 ;; Build selected list of packages only.