From 5eded9b52dc4e92c652364cf359d022812817505 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 10 Apr 2021 13:33:53 +0200 Subject: gnu: airspyhf: Fix udev rules. * gnu/packages/radio.scm (airspyhf)[arguments]: Add 'fix-udev-rules' phase. --- gnu/packages/radio.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 0e67bf2658..e6d5ef0203 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -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 -- cgit v1.2.3