diff options
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/hardware.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index e1514fb40b8..0652e2933d9 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.") | |||
| 1089 | (("dependencies/json") | 1089 | (("dependencies/json") |
| 1090 | (string-append #$(this-package-input "nlohmann-json") | 1090 | (string-append #$(this-package-input "nlohmann-json") |
| 1091 | "/include/nlohmann"))))) | 1091 | "/include/nlohmann"))))) |
| 1092 | (add-after 'unpack 'patch-chmod | ||
| 1093 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 1094 | (substitute* "scripts/build-udev-rules.sh" | ||
| 1095 | (("/bin/chmod") (string-append (assoc-ref inputs "coreutils") | ||
| 1096 | "/bin/chmod"))))) | ||
| 1092 | ;; Call qmake instead of configure to create a Makefile. | 1097 | ;; Call qmake instead of configure to create a Makefile. |
| 1093 | (replace 'configure | 1098 | (replace 'configure |
| 1094 | (lambda _ (invoke "qmake" "PREFIX=/" "OpenRGB.pro")))))) | 1099 | (lambda _ (invoke "qmake" "PREFIX=/" "OpenRGB.pro")))))) |
| 1095 | (inputs | 1100 | (inputs |
| 1096 | (list hidapi | 1101 | (list coreutils |
| 1102 | hidapi | ||
| 1097 | hueplusplus | 1103 | hueplusplus |
| 1098 | nlohmann-json | 1104 | nlohmann-json |
| 1099 | libusb | 1105 | libusb |
