From 3f6c5c6f781bdf4cf5f15272642d0f3aba01aa50 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 20 Dec 2022 10:33:03 +0100 Subject: doc: Avoid 'match' on the record. Fixes . Reported by MANCINI Raffael . * doc/guix.texi (Service Types and Services): Change 'udev-configuration' example to avoid 'match'. --- doc/guix.texi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'doc') 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 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 -- cgit v1.2.3