summary refs log tree commit diff
path: root/gnu/tests.scm
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-05-01 13:24:43 +0200
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-05-07 08:57:45 -0400
commitd1caabbce7fb2ade4cca5ef22234670d3eca16fd (patch)
tree281c4fc73cae91d07c8cbf6791b4afe7ed249776 /gnu/tests.scm
parent7ae9ef3b54e5577275cdae9b603f8e5a0141a159 (diff)
downloadguix-d1caabbce7fb2ade4cca5ef22234670d3eca16fd.tar.gz
services: configuration: Support fields without default values.
Not all fields in a configuration have a sensible default value.  This changes
makes it possible to omit a default value for a configuration field, requiring
the user to provide a value.

* gnu/services/configuration.scm (configuration-missing-field): New procedure.
(define-configuration): Make default value optional.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/tests.scm')
0 files changed, 0 insertions, 0 deletions