me
/
guix
Archived
1
0
Fork 0

gnu: airspyhf: Fix udev rules.

* gnu/packages/radio.scm (airspyhf)[arguments]: Add 'fix-udev-rules' phase.
master
Guillaume Le Vaillant 2021-04-10 13:33:53 +02:00
parent 1d568a4598
commit 5eded9b52d
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 8 additions and 1 deletions

View File

@ -201,7 +201,14 @@ this package. E.g.: @code{(udev-rules-service 'rtl-sdr rtl-sdr)}")
(("DESTINATION \"/etc/udev/")
(string-append "DESTINATION \""
(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")
(synopsis "Software defined radio driver for Airspy HF+")
(description