diff options
author | Christopher Baines <mail@cbaines.net> | 2020-05-09 19:05:33 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-05-09 19:05:33 +0100 |
commit | 1ec0da100859a986e4e6c58c2edb2d238d64b170 (patch) | |
tree | 5b33d510d205c5b5ac9c13a2c85c29ba4ea73e6e /scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in | |
parent | 7981e52681231c06a4de4cbc8639fa251e13f9da (diff) | |
download | build-coordinator-1ec0da100859a986e4e6c58c2edb2d238d64b170.tar build-coordinator-1ec0da100859a986e4e6c58c2edb2d238d64b170.tar.gz |
Rework the ensure-all-related-derivations-have-builds option
This was resulting in duplicate builds for the same output, as that's not what
it was guarding against, but I think that was my intention... Anyway this
should actually only result in builds being created for outputs that are
required.
Diffstat (limited to 'scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in')
-rw-r--r-- | scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in b/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in index 815f493..7d01b2e 100644 --- a/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in +++ b/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in @@ -136,12 +136,13 @@ ;; output once. "--ignore-if-build-for-derivation-exists" "--ignore-if-build-for-outputs-exists" - ;; The Guix Build Coordinator will automatically add builds for - ;; inputs if the required output isn't available, but to ensure - ;; this derivation, and all the related derivations have been built - ;; and the outputs stored, instruct the Guix Build Coordinator to - ;; add the builds upfront. - "--ensure-all-related-derivations-have-builds" + ;; The Guix Build Coordinator will automatically add builds + ;; for inputs if the required output isn't available, but to + ;; ensure this derivation, and all the related derivations + ;; have been built and the outputs stored, instruct the Guix + ;; Build Coordinator to add builds for related derivations + ;; if no build exists. + "--ensure-all-related-derivation-outputs-have-builds" (simple-format #f "--priority=~A" priority) derivation))) (unless (zero? exit-code) |