summary refs log tree commit diff
path: root/guix.scm
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-06-09 15:06:27 +0200
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-08-02 14:16:23 -0400
commit8e1f94421873777c6bb0b83daa4f81cbacc8b3ff (patch)
treed3f12240903c4b2631849b2eff660ba0aa55dfec /guix.scm
parentad945029a2dbd1fb741be573f13e42c061e72d0f (diff)
downloadguix-8e1f94421873777c6bb0b83daa4f81cbacc8b3ff.tar.gz
services: configuration: Derive the default value from the package variable.
If the type of a configuration field is a package, show the name of its
package *variable* as the default value.

* gnu/services/configuration.scm (generate-documentation){show-default}
{package->symbol}: New nested procedures.  Use them to format the field
entries.

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