guix-play/tests/services
Bruno Victal a7994ed58d
services: configuration: Use transducers within serialize-configuration.
Introduces 'base-transducer', a SRFI-171 based transducer that can be used as a
starting point for writing custom configuration record serializing procedures.

This also fixes the symbol maybe-value serialization test case.

* gnu/services/configuration.scm (empty-serializer?): New predicate.
(base-transducer, tfilter-maybe-value): New procedure.
(serialize-configuration): Adapt to use base-transducer.

* gnu/services/telephony.scm (jami-account->alist): Use transducers to skip
fields that are unserializable or whose field maybe-value is unset.

* tests/services/configuration.scm: Remove test-expect-fail.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
..
configuration.scm services: configuration: Use transducers within serialize-configuration. 2023-10-07 12:41:05 -04:00
file-sharing.scm services: Add transmission-daemon service. 2021-02-12 15:11:36 +08:00
lightdm.scm
linux.scm
pam-mount.scm services: Add pam-mount-volume-service-type. 2023-08-10 09:26:08 +02:00
telephony.scm
vpn.scm services: wireguard: Implement a dynamic IP monitoring feature. 2023-07-21 11:58:44 -04:00