aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/guix-build-coordinator-agent.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/guix-build-coordinator-agent.in b/scripts/guix-build-coordinator-agent.in
index bbdc6bd..7b00dbf 100644
--- a/scripts/guix-build-coordinator-agent.in
+++ b/scripts/guix-build-coordinator-agent.in
@@ -24,6 +24,7 @@
(use-modules (srfi srfi-1)
(srfi srfi-37)
+ (ice-9 textual-ports)
((guix config) #:prefix guix-config:)
(guix-build-coordinator agent))
@@ -44,6 +45,12 @@
(alist-cons 'password
arg
result)))
+ (option '("password-file") #t #f
+ (lambda (opt name arg result)
+ (alist-cons 'password
+ (string-trim-right
+ (call-with-input-file arg get-string-all))
+ result)))
(option '("max-parallel-builds") #t #f
(lambda (opt name arg result)
(alist-cons 'max-parallel-builds