summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index c031c8d880..6478deba1d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -39719,11 +39719,10 @@ The service type for an @emph{extensible} service looks like this:
(compose concatenate) ;concatenate the list of rules
(extend (lambda (config rules)
- (match config
- (($ <udev-configuration> udev initial-rules)
- (udev-configuration
- (udev udev) ;the udev package to use
- (rules (append initial-rules rules)))))))))
+ (udev-configuration
+ (inherit config)
+ (rules (append (udev-configuration-rules config)
+ rules)))))))
@end lisp
This is the service type for the