mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
ci: Try hard to build package replacements.
The "ghostscript" replacements introduced in
0b859092a7
would not be built because they
have the same name as the original packages.
* gnu/ci.scm (all-packages): Return the replacement of PACKAGE before
PACKAGE.
This commit is contained in:
parent
2ae1c7528d
commit
f00ff8db92
1 changed files with 6 additions and 2 deletions
|
@ -331,8 +331,12 @@ (define (all-packages)
|
|||
"Return the list of packages to build."
|
||||
(define (adjust package result)
|
||||
(cond ((package-replacement package)
|
||||
(cons* package ;build both
|
||||
(package-replacement package)
|
||||
;; XXX: If PACKAGE and its replacement have the same name/version,
|
||||
;; then both Cuirass jobs will have the same name, which
|
||||
;; effectively means that the second one will be ignored. Thus,
|
||||
;; return the replacement first.
|
||||
(cons* (package-replacement package) ;build both
|
||||
package
|
||||
result))
|
||||
((package-superseded package)
|
||||
result) ;don't build it
|
||||
|
|
Loading…
Reference in a new issue