From 00e3a3a177b9e0369a7b4b3d179e8d76e2764082 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Wed, 15 Sep 2021 18:03:02 +0200 Subject: gnu: xpadneo: Copy udev rules to /lib. This makes xpadneo place its udev rules in the place where udev-service-type looks for them. * gnu/packages/linux.scm (xpadneo): Copy udev rules to /lib instead of /etc. --- gnu/packages/linux.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index b0ad62eff9..46c9f817a8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1606,8 +1606,10 @@ application by hooking GStreamer into the loopback device.") (let ((out (assoc-ref outputs "out"))) (copy-recursively "hid-xpadneo/etc-modprobe.d" (string-append out "/etc/modprobe.d")) + ;; udev-service-type takes its rules from /lib rather than + ;; /etc, so copy it there instead (copy-recursively "hid-xpadneo/etc-udev-rules.d" - (string-append out "/etc/udev/rules.d")))))))) + (string-append out "/lib/udev/rules.d")))))))) (home-page "https://atar-axis.github.io/xpadneo/") (synopsis "Xbox One Wireless Controller driver") (description -- cgit 1.4.1