[Top][All Lists]

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

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

From: guix-commits
Subject: branch master updated: gnu: rtl-sdr: Fix udev rules.
Date: Mon, 14 Mar 2022 10:45:55 -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 f8aa76ab1f gnu: rtl-sdr: Fix udev rules.
f8aa76ab1f is described below

commit f8aa76ab1fd3b4c9c87d2e68a811477adc844217
Author: Guillaume Le Vaillant <>
AuthorDate: Mon Mar 14 15:42:46 2022 +0100

    gnu: rtl-sdr: Fix udev rules.
    This is a followup to bcc13ee8a19b09ae880ebb18e5a0cc75a9219a14.
    * gnu/packages/radio.scm (rtl-sdr)[arguments]: Add 'fix-udev-rules' phase.
 gnu/packages/radio.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 477b094d75..dfc274a1de 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -203,7 +203,14 @@ mathematical operations, and much more.")
                  (("DESTINATION \"/etc/udev/")
                   (string-append "DESTINATION \""
                                  (assoc-ref outputs "out")
-                                 "/lib/udev/"))))))))
+                                 "/lib/udev/")))))
+           (add-after 'fix-paths 'fix-udev-rules
+             (lambda _
+               (substitute* "rtl-sdr.rules"
+                 ;; The plugdev group does not exist; use dialout as in
+                 ;; the hackrf package.
+                 (("GROUP=\"plugdev\"")
+                  "GROUP=\"dialout\"")))))))
       (home-page "";)
       (synopsis "Software defined radio driver for Realtek RTL2832U")
       (description "DVB-T dongles based on the Realtek RTL2832U can be used as 

reply via email to

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