diff options
author | Christopher Baines <mail@cbaines.net> | 2022-07-01 09:27:55 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-07-01 09:45:28 +0100 |
commit | 09aeabb9d3cab042a52881b117f9f64a0f0e1651 (patch) | |
tree | cf754a55af6c7b440110d79de4c3b5a5a5b9dd18 /doc | |
parent | e17672797102936fd8ceec4c43a66d9f690fab73 (diff) | |
download | guix-09aeabb9d3cab042a52881b117f9f64a0f0e1651.tar guix-09aeabb9d3cab042a52881b117f9f64a0f0e1651.tar.gz |
services: guix: Support guix-build-coordinator parallel hooks.
* gnu/services/guix.scm (guix-build-coordinator-configuration-parallel-hooks):
New procedure.
(make-guix-build-coordinator-start-script): Accept and use #:parallel-hooks.
(guix-build-coordinator-shepherd-services): Pass parallel-hooks to
make-guix-build-coordinator-start-script.
* doc/guix.texi (Guix Build Coordinator): Document this new field.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index b8c49099a4..814965b22c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -35106,6 +35106,11 @@ allocation plan in the database. An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed. +@item @code{parallel-hooks} (default: @var{'()}) +Hooks can be configured to run in parallel. This parameter is an +association list of hooks to do in parallel, where the key is the symbol +for the hook and the value is the number of threads to run. + @item @code{guile} (default: @code{guile-3.0-latest}) The Guile package with which to run the Guix Build Coordinator. |