guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: airspyhf: Fix udev rules.


From: guix-commits
Subject: branch master updated: gnu: airspyhf: Fix udev rules.
Date: Sat, 10 Apr 2021 07:37:16 -0400

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5eded9b  gnu: airspyhf: Fix udev rules.
5eded9b is described below

commit 5eded9b52dc4e92c652364cf359d022812817505
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Apr 10 13:33:53 2021 +0200

    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(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 0e67bf2..e6d5ef0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]