me
/
guix
Archived
1
0
Fork 0

gnu: rtl-sdr: Fix udev rules.

This is a followup to bcc13ee8a1.

* gnu/packages/radio.scm (rtl-sdr)[arguments]: Add 'fix-udev-rules' phase.
Guillaume Le Vaillant 2022-03-14 15:42:46 +01:00
parent 9ba64d70f1
commit f8aa76ab1f
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 8 additions and 1 deletions

View File

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