gnu: airspyhf: Fix udev rules.
* gnu/packages/radio.scm (airspyhf)[arguments]: Add 'fix-udev-rules' phase.
This commit is contained in:
parent
1d568a4598
commit
5eded9b52d
1 changed files with 8 additions and 1 deletions
|
@ -201,7 +201,14 @@ this package. E.g.: @code{(udev-rules-service 'rtl-sdr rtl-sdr)}")
|
||||||
(("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* "tools/52-airspyhf.rules"
|
||||||
|
;; The plugdev group does not exist; use dialout as in
|
||||||
|
;; the hackrf package.
|
||||||
|
(("GROUP=\"plugdev\"")
|
||||||
|
"GROUP=\"dialout\"")))))))
|
||||||
(home-page "https://github.com/airspy/airspyhf")
|
(home-page "https://github.com/airspy/airspyhf")
|
||||||
(synopsis "Software defined radio driver for Airspy HF+")
|
(synopsis "Software defined radio driver for Airspy HF+")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue