me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/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
lightdm.scm services: Add lightdm-service-type. 2022-08-28 22:28:47 -04:00
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