guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: xpadneo: Copy udev rules to /lib.


From: guix-commits
Subject: branch master updated: gnu: xpadneo: Copy udev rules to /lib.
Date: Wed, 15 Sep 2021 12:07:31 -0400

This is an automated email from the git hooks/post-receive script.

lilyp pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 00e3a3a  gnu: xpadneo: Copy udev rules to /lib.
00e3a3a is described below

commit 00e3a3a177b9e0369a7b4b3d179e8d76e2764082
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Wed Sep 15 18:03:02 2021 +0200

    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(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b0ad62e..46c9f81 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]