aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix-build-coordinator-agent.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/guix-build-coordinator-agent.in')
-rw-r--r--scripts/guix-build-coordinator-agent.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/guix-build-coordinator-agent.in b/scripts/guix-build-coordinator-agent.in
index 2f9e774..69ecf8a 100644
--- a/scripts/guix-build-coordinator-agent.in
+++ b/scripts/guix-build-coordinator-agent.in
@@ -126,6 +126,11 @@
(lambda (opt name arg result)
(alist-cons 'metrics-file
arg
+ result)))
+ (option '("timestamp-log-output") #t #f
+ (lambda (opt name arg result)
+ (alist-cons 'timestamp-log-output?
+ (string=? arg "true")
result)))))
(define %option-defaults
@@ -140,7 +145,8 @@
(* 3 (/ (total-processor-count) 4)))
1))
(dynamic-auth-token
- . ,(getenv "GUIX_BUILD_COORDINATOR_DYNAMIC_AUTH_TOKEN"))))
+ . ,(getenv "GUIX_BUILD_COORDINATOR_DYNAMIC_AUTH_TOKEN"))
+ (timestamp-log-output? . #t)))
(define (parse-options options defaults args)
(args-fold
@@ -207,4 +213,5 @@
(or (assq-ref opts 'non-derivation-substitute-urls)
(assq-ref opts 'substitute-urls))
(assq-ref opts 'metrics-file)
- (assq-ref opts 'max-1min-load-average)))))
+ (assq-ref opts 'max-1min-load-average)
+ (assq-ref opts 'timestamp-log-output?)))))