summary refs log tree commit diff
diff options
context:
space:
mode:
-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