gnu: openrgb: Fix up chmod invocations inside udev rules.
* gnu/packages/hardware.scm (openrgb)[arguments]<#:phases>[patch-chmod]: New phase. Change-Id: Ib82a8cc42a896aaf9dc7ea0ff36a3c259f9a26af
parent
978f4a9dc4
commit
77386bdbfe
|
@ -1089,11 +1089,17 @@ technology, such as head mounted displays with built in head tracking.")
|
||||||
(("dependencies/json")
|
(("dependencies/json")
|
||||||
(string-append #$(this-package-input "nlohmann-json")
|
(string-append #$(this-package-input "nlohmann-json")
|
||||||
"/include/nlohmann")))))
|
"/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.
|
;; Call qmake instead of configure to create a Makefile.
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda _ (invoke "qmake" "PREFIX=/" "OpenRGB.pro"))))))
|
(lambda _ (invoke "qmake" "PREFIX=/" "OpenRGB.pro"))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list hidapi
|
(list coreutils
|
||||||
|
hidapi
|
||||||
hueplusplus
|
hueplusplus
|
||||||
nlohmann-json
|
nlohmann-json
|
||||||
libusb
|
libusb
|
||||||
|
|
Reference in New Issue