mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05: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
|
(compose concatenate) ;concatenate the list of rules
|
||||||
(extend (lambda (config rules)
|
(extend (lambda (config rules)
|
||||||
(match config
|
(udev-configuration
|
||||||
(($ <udev-configuration> udev initial-rules)
|
(inherit config)
|
||||||
(udev-configuration
|
(rules (append (udev-configuration-rules config)
|
||||||
(udev udev) ;the udev package to use
|
rules)))))))
|
||||||
(rules (append initial-rules rules)))))))))
|
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
This is the service type for the
|
This is the service type for the
|
||||||
|
|
Loading…
Reference in a new issue