summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2026-08-07 16:24:11 +0100
committerChristopher Baines <mail@cbaines.net>2026-08-07 16:26:26 +0100
commit9a2e792d190ef1f6effd152bb304abed6c6e0bec (patch)
treec8fd9c97e19c8557783ac845fd7add8eedefadd4
parent726095a4c8b7f12b8fa04eb5f4e1d538b853014e (diff)
guix: store: Add max-log-size to set-build-options.client-add-build-max-log-size-option
This exposes a option that already exists in the daemon, but is currently limited to only being set by root or when the daemon is running as the same user as the client. Being able to specify a limit on the log size is useful as some builds produce a lot of log output indefinitely. * guix/store.scm (set-build-options): Add #:max-log-size. Change-Id: I54f799f7cc53572e7f37917b704b91c027aad932
-rw-r--r--guix/store.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/guix/store.scm b/guix/store.scm
index ad2df17701d..15754a60c65 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -731,6 +731,7 @@ definitions."
731 max-build-jobs 731 max-build-jobs
732 timeout 732 timeout
733 max-silent-time 733 max-silent-time
734 max-log-size
734 (offload? #t) 735 (offload? #t)
735 (use-build-hook? *unspecified*) ;deprecated 736 (use-build-hook? *unspecified*) ;deprecated
736 (build-verbosity 0) 737 (build-verbosity 0)
@@ -802,6 +803,10 @@ definitions."
802 `(("build-max-silent-time" 803 `(("build-max-silent-time"
803 . ,(number->string max-silent-time))) 804 . ,(number->string max-silent-time)))
804 '()) 805 '())
806 ,@(if max-log-size
807 `(("build-max-log-size"
808 . ,(number->string max-log-size)))
809 '())
805 ,@(if max-build-jobs 810 ,@(if max-build-jobs
806 `(("build-max-jobs" 811 `(("build-max-jobs"
807 . ,(number->string max-build-jobs))) 812 . ,(number->string max-build-jobs)))