Browse Source

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.
wip-gexp-hygiene
Ludovic Courtès 5 years ago
parent
commit
82c955c0a5
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 6
      build-aux/hydra/gnu-system.scm

6
build-aux/hydra/gnu-system.scm

@ -245,7 +245,11 @@ valid."
(cond ((member package base-packages)
#f)
((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
#f)))))

Loading…
Cancel
Save