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 or pull requests.
guix/gnu
Maxim Cournoyer a2b89a3319
services: configuration: Step back from *unspecified*.
Fixes <https://issues.guix.gnu.org/56799>.

This partially reverts 8cb1a49a39.

Rationale: *unspecified* cannot be serialized thus used as a G-Expression
input, which is problematic/inconvenient when using deeply nested records.  As
an example, jami-service-type was broken when using partially defined
<jami-account> records.

* gnu/services/configuration.scm (define-maybe-helper): Check against the
'unset symbol.
(normalize-field-type+def): Adjust value to 'unset.
(define-configuration-helper): Use 'unset as the default value thunk.
* gnu/services/file-sharing.scm (serialize-maybe-string): Check against the
'unset symbol.
(serialize-maybe-file-object): Likewise.
* gnu/services/messaging.scm (define-all-configurations): Use 'unset as
value.
(raw-content?): Check against 'unset symbol.
(prosody-configuration)[http-max-content-size]: Default to 'unset.
[http-external-url]: Likewise.
[mod-muc]: Likewise.
[raw-content]: Likewise.
* gnu/services/networking.scm (opendht-configuration): Adjust documentation.
* gnu/services/telephony.scm (jami-shepherd-services): Replace *undefined*
with the 'unset symbol.
* tests/services/configuration.scm ("maybe type, no default"): Check against
the 'unset symbol.
* doc/guix.texi: Regenerate the opendht-configuration,
openvpn-client-configuration and openvpn-server-configuration documentation.
2022-08-01 12:49:35 -04:00
..
bootloader image: Add support for 32bit UEFI. 2022-06-24 10:21:06 +02:00
build gnu: modifying make-chromium-extension to rely on node-crx3. 2022-07-20 16:50:08 +02:00
home home: services: environment-variables: Double-quote values. 2022-07-14 01:05:34 +02:00
installer
machine
packages gnu: python-bbknn: Update to 1.5.1. 2022-08-01 17:46:21 +02:00
services services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
system image: Raise an error when an image lacks a bootable partition. 2022-07-01 12:10:28 +02:00
tests gnu: tests: Fix guix-data-service test. 2022-07-15 09:38:42 +01:00
artwork.scm
bootloader.scm
ci.scm
home.scm home: Add 'home-generation-base'. 2022-08-01 00:02:04 +02:00
image.scm image: Add sanitizers for 'format' and 'partition-table-type'. 2022-07-01 12:10:29 +02:00
installer.scm
local.mk gnu: Add fail2ban. 2022-08-01 17:20:27 +02:00
machine.scm
packages.scm
services.scm
system.scm gnu: system: Add fusermount3 to setuid-programs. 2022-07-14 15:16:23 -04:00
tests.scm