[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: openrgb: Fix up chmod invocations inside ude
From: |
guix-commits |
Subject: |
branch master updated: gnu: openrgb: Fix up chmod invocations inside udev rules. |
Date: |
Sun, 12 Nov 2023 20:33:49 -0500 |
This is an automated email from the git hooks/post-receive script.
dannym pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 77386bdbfe gnu: openrgb: Fix up chmod invocations inside udev rules.
77386bdbfe is described below
commit 77386bdbfe6b0c649c05ab37f08051d1ab3e5074
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Thu Nov 9 23:07:18 2023 +0100
gnu: openrgb: Fix up chmod invocations inside udev rules.
* gnu/packages/hardware.scm (openrgb)[arguments]<#:phases>[patch-chmod]: New
phase.
Change-Id: Ib82a8cc42a896aaf9dc7ea0ff36a3c259f9a26af
---
gnu/packages/hardware.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: openrgb: Fix up chmod invocations inside udev rules.,
guix-commits <=