3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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'.
This commit is contained in:
Ludovic Courtès 2022-12-20 10:33:03 +01:00
parent 680970490c
commit 3f6c5c6f78
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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)))))))))
(inherit config)
(rules (append (udev-configuration-rules config)
rules)))))))
@end lisp
This is the service type for the