hydra: guix-modular: Honor the 'systems' argument.
* build-aux/hydra/guix-modular.scm (hydra-jobs)[systems]: Define as in gnu-system.scm. Honor SYSTEMS.
This commit is contained in:
parent
f27a712840
commit
98cda1b997
|
@ -57,14 +57,10 @@ for SYSTEM. Use VERSION as the version identifier."
|
||||||
(define (hydra-jobs store arguments)
|
(define (hydra-jobs store arguments)
|
||||||
"Return Hydra jobs."
|
"Return Hydra jobs."
|
||||||
(define systems
|
(define systems
|
||||||
(match (filter-map (match-lambda
|
(match (assoc-ref arguments 'systems)
|
||||||
(('system . value) value)
|
(#f %hydra-supported-systems)
|
||||||
(_ #f))
|
((lst ...) lst)
|
||||||
arguments)
|
((? string? str) (call-with-input-string str read))))
|
||||||
((lst ..1)
|
|
||||||
lst)
|
|
||||||
(_
|
|
||||||
(list (%current-system)))))
|
|
||||||
|
|
||||||
(define guix-checkout
|
(define guix-checkout
|
||||||
(or (assq-ref arguments 'guix) ;Hydra on hydra
|
(or (assq-ref arguments 'guix) ;Hydra on hydra
|
||||||
|
@ -83,4 +79,4 @@ for SYSTEM. Use VERSION as the version identifier."
|
||||||
(string-append "guix." system))))
|
(string-append "guix." system))))
|
||||||
`(,name
|
`(,name
|
||||||
. ,(build-job store file version system))))
|
. ,(build-job store file version system))))
|
||||||
%hydra-supported-systems)))
|
systems)))
|
||||||
|
|
Loading…
Reference in New Issue