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:
parent
680970490c
commit
3f6c5c6f78
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue