mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
doc: Replace some cons* with beginner-friendly (append (list ...)).
* doc/guix.texi (Base Services): Do it.
This commit is contained in:
parent
1d76baa3cf
commit
6a7d7ca784
1 changed files with 9 additions and 8 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue