summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2019-01-21 20:24:44 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2019-01-21 20:24:44 +0100
commit6a7d7ca78442a2132d4a44220ddbb38519bc1074 (patch)
tree7bd3985841ed5d1632236c560514426d0b479145
parent1d76baa3cfb3bba9af708de40e9f1432da8fd671 (diff)
downloadguix-6a7d7ca78442a2132d4a44220ddbb38519bc1074.tar.gz
doc: Replace some cons* with beginner-friendly (append (list ...)). install-doc-overhaul
* doc/guix.texi (Base Services): Do it.
-rw-r--r--doc/guix.texi17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index e73302d1ea..861c4d3538 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10857,9 +10857,9 @@ system, you will want to append services to @var{%base-services}, like
 this:
 
 @example
-(cons* (service avahi-service-type)
-       (service openssh-service-type)
-       %base-services)
+(append (list (service avahi-service-type)
+              (service openssh-service-type))
+        %base-services)
 @end example
 @end defvr
 
@@ -11489,11 +11489,12 @@ well as in the @var{groups} field of the @var{operating-system} record.
   ;; @dots{}
 
   (services
-    (modify-services %desktop-services
-      (udev-service-type config =>
-       (udev-configuration (inherit config)
-       (rules (cons* android-udev-rules
-              (udev-configuration-rules config))))))))
+   (modify-services %desktop-services
+     (udev-service-type
+      config =>
+      (udev-configuration (inherit config)
+                          (rules (cons android-udev-rules
+                                       (udev-configuration-rules config))))))))
 @end example
 
 @defvr {Scheme Variable} urandom-seed-service-type