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/gnu
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
..
bootloader
build secret-service: Increase default handshake timeout. 2023-10-01 22:58:19 +02:00
home gnu: home: zsh: Load environment when running via ssh 2023-09-17 15:31:04 +02:00
installer
machine
packages gnu: Add gnome-shell-extension-night-theme-switcher. 2023-10-07 11:29:47 -04:00
services services: configuration: Use transducers within serialize-configuration. 2023-10-07 12:41:05 -04:00
system system: Modify bash skeleton to colorize 'ip' output. 2023-10-06 11:52:13 +02:00
tests tests: childhurd: Test SSH connection with a non-root user. 2023-10-05 23:14:55 +02:00
artwork.scm
bootloader.scm
ci.scm image: Introduce the mbr-hybrid-raw image type. 2023-09-20 09:38:36 +02:00
compression.scm
home.scm
image.scm
installer.scm
local.mk gnu: Add gklib-suitesparse. 2023-10-06 12:26:45 +02:00
machine.scm
packages.scm
services.scm gnu: services: Revert to deleting and updating all matching services 2023-08-31 23:31:50 -04:00
system.scm
tests.scm