diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2022-03-14 15:42:46 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-03-14 15:42:46 +0100 |
commit | f8aa76ab1fd3b4c9c87d2e68a811477adc844217 (patch) | |
tree | 04aa2c145fc5bd929e773fb315d33c39a3e2dd97 /gnu/packages/radio.scm | |
parent | 9ba64d70f1f40d785b2161762ca920d307d46c97 (diff) | |
download | guix-f8aa76ab1fd3b4c9c87d2e68a811477adc844217.tar guix-f8aa76ab1fd3b4c9c87d2e68a811477adc844217.tar.gz |
gnu: rtl-sdr: Fix udev rules.
This is a followup to bcc13ee8a19b09ae880ebb18e5a0cc75a9219a14.
* gnu/packages/radio.scm (rtl-sdr)[arguments]: Add 'fix-udev-rules' phase.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r-- | gnu/packages/radio.scm | 9 |
1 files changed, 8 insertions, 1 deletions
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 "https://osmocom.org/projects/sdr/wiki/rtl-sdr") (synopsis "Software defined radio driver for Realtek RTL2832U") (description "DVB-T dongles based on the Realtek RTL2832U can be used as a |