hydra: Don't build non-substitutable packages.
* build-aux/hydra/gnu-system.scm (package->job): Compute PACKAGE's derivation; return #f if 'substitutable-derivation?' returns #f.
This commit is contained in:
parent
cbee955901
commit
82c955c0a5
1 changed files with 5 additions and 1 deletions
|
@ -245,7 +245,11 @@ valid."
|
||||||
(cond ((member package base-packages)
|
(cond ((member package base-packages)
|
||||||
#f)
|
#f)
|
||||||
((supported-package? package system)
|
((supported-package? package system)
|
||||||
(package-job store (job-name package) package system))
|
(let ((drv (package-derivation store package system
|
||||||
|
#:graft? #f)))
|
||||||
|
(and (substitutable-derivation? drv)
|
||||||
|
(package-job store (job-name package)
|
||||||
|
package system))))
|
||||||
(else
|
(else
|
||||||
#f)))))
|
#f)))))
|
||||||
|
|
||||||
|
|
Reference in a new issue