summaryrefslogtreecommitdiff
path: root/gnu/packages/hardware.scm
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2023-11-14 10:46:23 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2023-11-14 10:46:23 -0500
commit92f113694f23e31cea78164df11ad78c293e6de3 (patch)
treea4f28b2890d9088f85e971a4537d3911bc47329b /gnu/packages/hardware.scm
parentab307cbb586584dab715ffcc6cf123d02ddcb6bf (diff)
parentbd0f2173210416e86281c1de8789e7cdab66dd57 (diff)
Merge branch 'master' into mesa-updates
Change-Id: I4b468bb3148d392c9ade30dfe0cfb68c574a8e27
Diffstat (limited to 'gnu/packages/hardware.scm')
-rw-r--r--gnu/packages/hardware.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index e1514fb40b..0652e2933d 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -1089,11 +1089,17 @@ technology, such as head mounted displays with built in head tracking.")
(("dependencies/json")
(string-append #$(this-package-input "nlohmann-json")
"/include/nlohmann")))))
+ (add-after 'unpack 'patch-chmod
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "scripts/build-udev-rules.sh"
+ (("/bin/chmod") (string-append (assoc-ref inputs "coreutils")
+ "/bin/chmod")))))
;; Call qmake instead of configure to create a Makefile.
(replace 'configure
(lambda _ (invoke "qmake" "PREFIX=/" "OpenRGB.pro"))))))
(inputs
- (list hidapi
+ (list coreutils
+ hidapi
hueplusplus
nlohmann-json
libusb