From 9f1545b15269523eac109b54e1a62f4c0cda837e Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 13 Feb 2024 15:16:40 +0000 Subject: Allow setting the dynamic auth token via environment variable --- scripts/guix-build-coordinator-agent.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3