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.
This commit is contained in:
Liliana Marie Prikler 2021-09-15 18:03:02 +02:00
parent 68f51bf536
commit 00e3a3a177
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87

View File

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