mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: joycond: Patch /bin/setfacl in udev rules.
* gnu/packages/games.scm (joycond) [phases]: Extend the 'fix-bin-location' phase. Change-Id: Ie41f822db023369d5d35f9a960a9dadf994663e8
This commit is contained in:
parent
ecda7d3ef7
commit
af958a7016
1 changed files with 7 additions and 3 deletions
|
@ -111,6 +111,7 @@
|
||||||
#:use-module (guix svn-download)
|
#:use-module (guix svn-download)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
#:use-module (gnu packages acl)
|
||||||
#:use-module (gnu packages adns)
|
#:use-module (gnu packages adns)
|
||||||
#:use-module (gnu packages algebra)
|
#:use-module (gnu packages algebra)
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (gnu packages autotools)
|
||||||
|
@ -1782,7 +1783,7 @@ automata. The following features are available:
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-bin-location
|
(add-after 'unpack 'fix-bin-location
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "CMakeLists.txt"
|
(substitute* "CMakeLists.txt"
|
||||||
(("/lib/udev/rules.d")
|
(("/lib/udev/rules.d")
|
||||||
(string-append #$output "/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")
|
(("/etc/modules-load.d")
|
||||||
(string-append #$output "/etc/modules-load.d"))
|
(string-append #$output "/etc/modules-load.d"))
|
||||||
(("/usr/bin")
|
(("/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))
|
(native-inputs (list pkg-config))
|
||||||
(inputs (list eudev libevdev))
|
(inputs (list acl eudev libevdev))
|
||||||
(home-page "https://github.com/DanielOgorchock/joycond")
|
(home-page "https://github.com/DanielOgorchock/joycond")
|
||||||
(synopsis "Joy-Con controller daemon")
|
(synopsis "Joy-Con controller daemon")
|
||||||
(description "This package provides a userspace daemon for the Nintendo
|
(description "This package provides a userspace daemon for the Nintendo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue