diff --git a/doc/guix.texi b/doc/guix.texi index 2ae79f03e6..52e36e4354 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -39763,6 +39763,8 @@ derivations aren't already available. URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available. +@item @code{extra-options} (default: @var{'()}) +Extra command line options for @code{guix-build-coordinator-agent}. @end table @end deftp diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index fdeaeeb472..6c58b3a292 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -66,6 +66,7 @@ guix-build-coordinator-agent-configuration-max-1min-load-average guix-build-coordinator-agent-configuration-derivation-substitute-urls guix-build-coordinator-agent-configuration-non-derivation-substitute-urls + guix-build-coordinator-agent-configuration-extra-options guix-build-coordinator-agent-password-auth guix-build-coordinator-agent-password-auth? @@ -209,7 +210,10 @@ (default #f)) (non-derivation-substitute-urls guix-build-coordinator-agent-configuration-non-derivation-substitute-urls - (default #f))) + (default #f)) + (extra-options + guix-build-coordinator-agent-configuration-extra-options + (default '()))) (define-record-type* guix-build-coordinator-agent-password-auth @@ -410,6 +414,7 @@ max-parallel-builds max-parallel-uploads max-allocated-builds max-1min-load-average derivation-substitute-urls non-derivation-substitute-urls + extra-options systems) (list (shepherd-service @@ -469,6 +474,7 @@ "--non-derivation-substitute-urls=" (string-join non-derivation-substitute-urls " "))) #~()) + #$@extra-options #$@(map (lambda (system) (string-append "--system=" system)) (or systems '())))