system: Fix value of 'EUDEV_RULES_DIRECTORY'.
* gnu/services/base.scm (udev-service): Append "/lib/udev/rules.d" to EUDEV_RULES_DIRECTORY.
This commit is contained in:
parent
516e93f8a6
commit
a9eef4d2e5
|
@ -595,7 +595,8 @@ extra rules from the packages listed in @var{rules}."
|
||||||
|
|
||||||
;; The first one is for udev, the second one for eudev.
|
;; The first one is for udev, the second one for eudev.
|
||||||
(setenv "UDEV_CONFIG_FILE" #$udev.conf)
|
(setenv "UDEV_CONFIG_FILE" #$udev.conf)
|
||||||
(setenv "EUDEV_RULES_DIRECTORY" #$rules)
|
(setenv "EUDEV_RULES_DIRECTORY"
|
||||||
|
(string-append #$rules "/lib/udev/rules.d"))
|
||||||
|
|
||||||
(let ((pid (primitive-fork)))
|
(let ((pid (primitive-fork)))
|
||||||
(case pid
|
(case pid
|
||||||
|
|
Loading…
Reference in New Issue