summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-06-18 22:59:22 +0200
committerLudovic Courtès <ludo@gnu.org>2022-06-24 23:18:21 +0200
commit6505f727e1824391b888dd0c2c60cf64ec66955a (patch)
tree2d50287588569b6d7bfe55616ac13dcc1ef90ca8 /doc
parentfb7e6ccba7cc243cd96cdc3fde3daa9a5f08e531 (diff)
downloadguix-patches-6505f727e1824391b888dd0c2c60cf64ec66955a.tar
guix-patches-6505f727e1824391b888dd0c2c60cf64ec66955a.tar.gz
services: configuration: Remove 'validate-configuration'.
Now that configuration records use the 'sanitize' property for each field, 'validate-configuration' has become useless because it's impossible to construct an invalid configuration record. * gnu/services/configuration.scm (validate-configuration): Remove. * gnu/services/mail.scm (dovecot-service): Remove call. * gnu/services/vpn.scm (openvpn-client-service) (openvpn-server-service): Likewise. * doc/guix.texi (Complex Configurations): Remove documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi6
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index f3b026333e..794907ce3a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -38917,12 +38917,6 @@ Return a G-expression that contains the values corresponding to the
disk by using something like @code{mixed-text-file}.
@end deffn
-@deffn {Scheme Procedure} validate-configuration @var{configuration}
-@var{fields}
-Type-check @var{fields}, a list of field names of @var{configuration}, a
-configuration record created by @code{define-configuration}.
-@end deffn
-
@deffn {Scheme Procedure} empty-serializer @var{field-name} @var{value}
A serializer that just returns an empty string. The
@code{serialize-package} procedure is an alias for this.