doc: Replace some cons* with beginner-friendly (append (list ...)).
* doc/guix.texi (Base Services): Do it.
This commit is contained in:
parent
907dd32720
commit
b1c4dafbf1
|
@ -10888,8 +10888,8 @@ system, you will want to append services to @var{%base-services}, like
|
|||
this:
|
||||
|
||||
@example
|
||||
(cons* (service avahi-service-type)
|
||||
(service openssh-service-type)
|
||||
(append (list (service avahi-service-type)
|
||||
(service openssh-service-type))
|
||||
%base-services)
|
||||
@end example
|
||||
@end defvr
|
||||
|
@ -11521,9 +11521,10 @@ well as in the @var{groups} field of the @var{operating-system} record.
|
|||
|
||||
(services
|
||||
(modify-services %desktop-services
|
||||
(udev-service-type config =>
|
||||
(udev-service-type
|
||||
config =>
|
||||
(udev-configuration (inherit config)
|
||||
(rules (cons* android-udev-rules
|
||||
(rules (cons android-udev-rules
|
||||
(udev-configuration-rules config))))))))
|
||||
@end example
|
||||
|
||||
|
|
Loading…
Reference in New Issue