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:
Ludovic Courtès 2014-09-19 11:58:49 +02:00
parent 516e93f8a6
commit a9eef4d2e5
1 changed files with 2 additions and 1 deletions

View File

@ -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