guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: rtl-sdr: Fix location of udev rules file.


From: guix-commits
Subject: branch master updated: gnu: rtl-sdr: Fix location of udev rules file.
Date: Fri, 08 May 2020 03:06:51 -0400

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

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 503447a  gnu: rtl-sdr: Fix location of udev rules file.
503447a is described below

commit 503447ad4e06fbd64374563abbae2328568c3eda
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Fri May 8 09:01:14 2020 +0200

    gnu: rtl-sdr: Fix location of udev rules file.
    
    * gnu/packages/radio.scm (rtl-sdr)[arguments]: Modify 'fix-paths' phase to 
put
      the udev rules file in 'lib/' instead of 'etc/'.
---
 gnu/packages/radio.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 7fc6c4b..a33cd11 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -131,10 +131,10 @@ mathematical operations, and much more.")
          (add-after 'unpack 'fix-paths
            (lambda* (#:key outputs #:allow-other-keys)
              (substitute* "CMakeLists.txt"
-               (("DESTINATION \"/etc/")
+               (("DESTINATION \"/etc/udev/")
                 (string-append "DESTINATION \""
                                (assoc-ref outputs "out")
-                               "/etc/")))
+                               "/lib/udev/")))
              #t)))))
     (home-page "https://osmocom.org/projects/sdr/wiki/rtl-sdr";)
     (synopsis "Software defined radio driver for Realtek RTL2832U")



reply via email to

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