doc: Replace some cons* with beginner-friendly (append (list ...)).

* doc/guix.texi (Base Services): Do it.
This commit is contained in:
Pierre Neidhardt 2019-01-21 20:24:44 +01:00
parent 1d76baa3cf
commit 6a7d7ca784
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -10857,8 +10857,8 @@ system, you will want to append services to @var{%base-services}, like
this: this:
@example @example
(cons* (service avahi-service-type) (append (list (service avahi-service-type)
(service openssh-service-type) (service openssh-service-type))
%base-services) %base-services)
@end example @end example
@end defvr @end defvr
@ -11490,9 +11490,10 @@ well as in the @var{groups} field of the @var{operating-system} record.
(services (services
(modify-services %desktop-services (modify-services %desktop-services
(udev-service-type config => (udev-service-type
config =>
(udev-configuration (inherit config) (udev-configuration (inherit config)
(rules (cons* android-udev-rules (rules (cons android-udev-rules
(udev-configuration-rules config)))))))) (udev-configuration-rules config))))))))
@end example @end example