[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: doc: Avoid 'match' on the <udev-configuration> record.
From: |
guix-commits |
Subject: |
02/06: doc: Avoid 'match' on the <udev-configuration> record. |
Date: |
Tue, 20 Dec 2022 11:13:25 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 3f6c5c6f781bdf4cf5f15272642d0f3aba01aa50
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Dec 20 10:33:03 2022 +0100
doc: Avoid 'match' on the <udev-configuration> record.
Fixes <https://issues.guix.gnu.org/59907>.
Reported by MANCINI Raffael <Raffael.MANCINI@mnhn.lu>.
* 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(-)
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
- branch master updated (7fb27b5441 -> fcc4e51e61), guix-commits, 2022/12/20
- 03/06: cpio: Skip test on inode numbers that don't fit on 32 bits., guix-commits, 2022/12/20
- 04/06: services: opensmtpd: Use 'match-record' instead of 'match'., guix-commits, 2022/12/20
- 06/06: read-print: Add special forms., guix-commits, 2022/12/20
- 02/06: doc: Avoid 'match' on the <udev-configuration> record.,
guix-commits <=
- 01/06: tests: Adjust 'guix package' test to latest package search metrics., guix-commits, 2022/12/20
- 05/06: services: opensmtpd: Add 'shepherd-requirement' field., guix-commits, 2022/12/20