diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-10-19 17:35:18 +0900 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-10-19 21:45:47 +0900 |
commit | af958a70161eccc673b6df8eb6f8912b745c64f3 (patch) | |
tree | f699ea3fad372bc0af333eb383452657c0834f26 /gnu | |
parent | ecda7d3ef7c1b31d34a4353a2fd637b9d48d75a4 (diff) | |
download | guix-af958a70161eccc673b6df8eb6f8912b745c64f3.tar guix-af958a70161eccc673b6df8eb6f8912b745c64f3.tar.gz |
gnu: joycond: Patch /bin/setfacl in udev rules.
* gnu/packages/games.scm (joycond)
[phases]: Extend the 'fix-bin-location' phase.
Change-Id: Ie41f822db023369d5d35f9a960a9dadf994663e8
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/games.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 2334442436..b34fdb43da 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -111,6 +111,7 @@ #:use-module (guix svn-download) #:use-module (guix gexp) #:use-module (gnu packages) + #:use-module (gnu packages acl) #:use-module (gnu packages adns) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) @@ -1782,7 +1783,7 @@ automata. The following features are available: #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-bin-location - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (substitute* "CMakeLists.txt" (("/lib/udev/rules.d") (string-append #$output "/lib/udev/rules.d")) @@ -1791,9 +1792,12 @@ automata. The following features are available: (("/etc/modules-load.d") (string-append #$output "/etc/modules-load.d")) (("/usr/bin") - (string-append #$output "/bin")))))))) + (string-append #$output "/bin"))) + (substitute* "udev/89-joycond.rules" + (("/bin/setfacl") + (search-input-file inputs "bin/setfacl")))))))) (native-inputs (list pkg-config)) - (inputs (list eudev libevdev)) + (inputs (list acl eudev libevdev)) (home-page "https://github.com/DanielOgorchock/joycond") (synopsis "Joy-Con controller daemon") (description "This package provides a userspace daemon for the Nintendo |