hydra: Don't build deprecated packages.

* build-aux/hydra/gnu-system.scm (hydra-jobs): When iterating over the
packages, exclude those that match 'package-superseded'.
This commit is contained in:
Ludovic Courtès 2017-03-30 23:46:07 +02:00
parent dca96ad395
commit 6f9f01fbf6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -305,11 +305,14 @@ (define (either proc1 proc2 proc3)
;; Build everything, including replacements.
(let ((all (fold-packages
(lambda (package result)
(if (package-replacement package)
(cond ((package-replacement package)
(cons* package
(package-replacement package)
result)
(cons package result)))
result))
((package-superseded package)
result) ;don't build it
(else
(cons package result))))
'()))
(job (lambda (package)
(package->job store package