aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-19 11:58:49 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-19 17:23:17 +0200
commita9eef4d2e5607d28b3dd152b8e2fe20516107fb3 (patch)
tree2e5fa1dfc27f734183b01956b831afc92f7fbe8b /gnu
parent516e93f8a6fa9ac4ad1778bd9a73fe049464eecc (diff)
downloadguix-a9eef4d2e5607d28b3dd152b8e2fe20516107fb3.tar
guix-a9eef4d2e5607d28b3dd152b8e2fe20516107fb3.tar.gz
system: Fix value of 'EUDEV_RULES_DIRECTORY'.
* gnu/services/base.scm (udev-service): Append "/lib/udev/rules.d" to EUDEV_RULES_DIRECTORY.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/base.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 3bb4f9721b..57a79a7749 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -595,7 +595,8 @@ extra rules from the packages listed in @var{rules}."
;; The first one is for udev, the second one for eudev.
(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)))
(case pid