diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-04-10 13:33:53 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-04-10 13:33:53 +0200 |
commit | 5eded9b52dc4e92c652364cf359d022812817505 (patch) | |
tree | 1cfbae82d5b683e00221485d3e0d7cd6d6521cca /gnu/packages | |
parent | 1d568a459832a02995c4ba7be32107949b3b6fc0 (diff) | |
download | guix-5eded9b52dc4e92c652364cf359d022812817505.tar.gz guix-5eded9b52dc4e92c652364cf359d022812817505.zip |
gnu: airspyhf: Fix udev rules.
* gnu/packages/radio.scm (airspyhf)[arguments]: Add 'fix-udev-rules' phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/radio.scm | 9 |
1 files changed, 8 insertions, 1 deletions
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 |