diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-11-27 18:38:33 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-11-27 23:06:17 +0100 |
commit | 61ad9bc2adc189f41128874649b115cfaadec48d (patch) | |
tree | 700e88ea251428d95edf2f5a2765fd0a05669d75 /gnu/services.scm | |
parent | 29b2ac570a75aff971818c4b32bae52f477c89fa (diff) | |
download | guix-61ad9bc2adc189f41128874649b115cfaadec48d.tar.gz |
services: Document the 'delete' clause of 'modify-services'.
* doc/guix.texi (Service Reference): Mention the 'delete' clause of 'modify-services'. * gnu/services.scm (modify-services): Likewise in docstring.
Diffstat (limited to 'gnu/services.scm')
-rw-r--r-- | gnu/services.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/services.scm b/gnu/services.scm index 1655218f2d..68fa4ebb63 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -319,7 +319,13 @@ the resulting list of services. Each clause must have the form: where TYPE is a service type, such as 'guix-service-type', and VARIABLE is an identifier that is bound within BODY to the value of the service of that -TYPE. Consider this example: +TYPE. + +Clauses can also remove services of a given type: + + (delete TYPE) + +Consider this example: (modify-services %base-services (guix-service-type config => |