summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-05-08 09:01:14 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2020-05-08 09:01:14 +0200
commit503447ad4e06fbd64374563abbae2328568c3eda (patch)
treece7828a2c6e27259bf99a75099fe5a1c4037189d /gnu
parent44585a0e9f8f1291ff4c3aa2266a9a4b1ec8de00 (diff)
gnu: rtl-sdr: Fix location of udev rules file.
* gnu/packages/radio.scm (rtl-sdr)[arguments]: Modify 'fix-paths' phase to put the udev rules file in 'lib/' instead of 'etc/'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/radio.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 7fc6c4bf2f..a33cd11f0b 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -131,10 +131,10 @@ mathematical operations, and much more.")
(add-after 'unpack 'fix-paths
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "CMakeLists.txt"
- (("DESTINATION \"/etc/")
+ (("DESTINATION \"/etc/udev/")
(string-append "DESTINATION \""
(assoc-ref outputs "out")
- "/etc/")))
+ "/lib/udev/")))
#t)))))
(home-page "https://osmocom.org/projects/sdr/wiki/rtl-sdr")
(synopsis "Software defined radio driver for Realtek RTL2832U")