aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-02-13 15:16:40 +0000
committerChristopher Baines <mail@cbaines.net>2024-02-13 15:16:40 +0000
commit9f1545b15269523eac109b54e1a62f4c0cda837e (patch)
treeeee0f8152c5f641dbd35beb4891cf271f431e867
parent1b71cf7ce97dc15ba0061fda71f6bb07311946db (diff)
downloadbuild-coordinator-9f1545b15269523eac109b54e1a62f4c0cda837e.tar
build-coordinator-9f1545b15269523eac109b54e1a62f4c0cda837e.tar.gz
Allow setting the dynamic auth token via environment variable
-rw-r--r--scripts/guix-build-coordinator-agent.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/guix-build-coordinator-agent.in b/scripts/guix-build-coordinator-agent.in
index 6d94302..2f9e774 100644
--- a/scripts/guix-build-coordinator-agent.in
+++ b/scripts/guix-build-coordinator-agent.in
@@ -138,7 +138,9 @@
(max-1min-load-average
. ,(max (ceiling
(* 3 (/ (total-processor-count) 4)))
- 1))))
+ 1))
+ (dynamic-auth-token
+ . ,(getenv "GUIX_BUILD_COORDINATOR_DYNAMIC_AUTH_TOKEN"))))
(define (parse-options options defaults args)
(args-fold