diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-07 21:46:51 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-08 00:50:39 -0400 |
commit | 3f9a12dc082b20426fc740416601b69ea1897193 (patch) | |
tree | 5cdb641aa666726334cbafb83cae18c281029479 /bootstrap | |
parent | 1a2704add3be3938501083bdb7c74367a9fd7d81 (diff) | |
download | guix-3f9a12dc082b20426fc740416601b69ea1897193.tar.gz guix-3f9a12dc082b20426fc740416601b69ea1897193.zip |
services: configuration: Allow disabling serialization.
Serialization is not always useful, for example when deriving command line
arguments from a configuration. This change provides a way to turn it off,
which removes the need to define a bunch of dummy serialization procedures.
Credit goes to Andrew Gierth (RhodiumToad) from #guile for providing the
solution. Thank you!
* gnu/services/configuration.scm (define-configuration-helper): New procedure.
(define-configuration) <no-serialization>: New syntactic keyword. Use it in a
new pattern. Refactor the macro so that it makes use of the above helper
procedure.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions