diff options
author | Christopher Baines <mail@cbaines.net> | 2020-05-09 19:07:32 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-05-09 19:07:32 +0100 |
commit | 97e1f3376b3cbce08fb9129da867f0229a2d6eb6 (patch) | |
tree | 384331d01896bd1adadcc8097bc0b1d73e70e194 /scripts | |
parent | 27fd2486c64f24352bd60bafd66d738e46694acf (diff) | |
download | build-coordinator-97e1f3376b3cbce08fb9129da867f0229a2d6eb6.tar build-coordinator-97e1f3376b3cbce08fb9129da867f0229a2d6eb6.tar.gz |
Pass the Guix Data Service instance in for substitutes
When submitting builds.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in | 3 |
1 files changed, 3 insertions, 0 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 7d01b2e..035fcfe 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 @@ -127,6 +127,9 @@ (define* (submit-build derivation #:key (priority 0)) (let ((exit-code (system* "guix-build-coordinator" "build" + (string-append + "--derivation-substitute-urls=" + "https://" %guix-data-service-host) ;; Currently submitting builds performs an allocation. Ideally this ;; would just mark the plan as dirty to avoid repeatedly ;; re-allocating builds. Until that point, pass this flag to skip |