gnu: rtl-sdr: Fix udev rules.
This is a followup to bcc13ee8a1
.
* gnu/packages/radio.scm (rtl-sdr)[arguments]: Add 'fix-udev-rules' phase.
This commit is contained in:
parent
9ba64d70f1
commit
f8aa76ab1f
1 changed files with 8 additions and 1 deletions
|
@ -203,7 +203,14 @@ mathematical operations, and much more.")
|
||||||
(("DESTINATION \"/etc/udev/")
|
(("DESTINATION \"/etc/udev/")
|
||||||
(string-append "DESTINATION \""
|
(string-append "DESTINATION \""
|
||||||
(assoc-ref outputs "out")
|
(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")
|
(home-page "https://osmocom.org/projects/sdr/wiki/rtl-sdr")
|
||||||
(synopsis "Software defined radio driver for Realtek RTL2832U")
|
(synopsis "Software defined radio driver for Realtek RTL2832U")
|
||||||
(description "DVB-T dongles based on the Realtek RTL2832U can be used as a
|
(description "DVB-T dongles based on the Realtek RTL2832U can be used as a
|
||||||
|
|
Reference in a new issue