mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 20:57:12 -05:00
gnu: xpadneo: Use G-expressions.
* gnu/packages/linux.scm (xpadneo)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
00ca360e9f
commit
42f246eb84
1 changed files with 13 additions and 13 deletions
|
@ -1555,19 +1555,19 @@ (define-public xpadneo
|
|||
"0xr0zx134s56h4ij6c3fh8ki0h58h61minbfxcl3sgpgxkh14ism"))))
|
||||
(build-system linux-module-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no `check' target
|
||||
(list #:tests? #f ; no `check' target
|
||||
#:source-directory "hid-xpadneo/src"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'post-install
|
||||
(lambda* (#:key outputs #:allow-other-keys #:rest args)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(lambda _
|
||||
(copy-recursively "hid-xpadneo/etc-modprobe.d"
|
||||
(string-append out "/etc/modprobe.d"))
|
||||
(string-append #$output "/etc/modprobe.d"))
|
||||
;; udev-service-type takes its rules from /lib rather than
|
||||
;; /etc, so copy it there instead
|
||||
(copy-recursively "hid-xpadneo/etc-udev-rules.d"
|
||||
(string-append out "/lib/udev/rules.d"))))))))
|
||||
(string-append #$output
|
||||
"/lib/udev/rules.d")))))))
|
||||
(home-page "https://atar-axis.github.io/xpadneo/")
|
||||
(synopsis "Xbox One Wireless Controller driver for the kernel Linux")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue