diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-12-26 08:05:42 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-01-16 01:00:02 +0100 |
commit | 42f246eb84eacd9566b5c21c818401a0891dc17c (patch) | |
tree | db911f1e9257b4d30fadb75fba5c11b41e49407f /gnu | |
parent | 00ca360e9f6982e167eb91f6709ec8179d7b1418 (diff) | |
download | guix-42f246eb84eacd9566b5c21c818401a0891dc17c.tar guix-42f246eb84eacd9566b5c21c818401a0891dc17c.tar.gz |
gnu: xpadneo: Use G-expressions.
* gnu/packages/linux.scm (xpadneo)[arguments]:
Rewrite as G-expressions.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/linux.scm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 7eaefe7701..6f6fb96759 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1555,19 +1555,19 @@ application by hooking GStreamer into the loopback device.") "0xr0zx134s56h4ij6c3fh8ki0h58h61minbfxcl3sgpgxkh14ism")))) (build-system linux-module-build-system) (arguments - `(#:tests? #f ; no `check' target - #:source-directory "hid-xpadneo/src" - #:phases - (modify-phases %standard-phases - (add-after 'install 'post-install - (lambda* (#:key outputs #:allow-other-keys #:rest args) - (let ((out (assoc-ref outputs "out"))) - (copy-recursively "hid-xpadneo/etc-modprobe.d" - (string-append out "/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")))))))) + (list #:tests? #f ; no `check' target + #:source-directory "hid-xpadneo/src" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'post-install + (lambda _ + (copy-recursively "hid-xpadneo/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 #$output + "/lib/udev/rules.d"))))))) (home-page "https://atar-axis.github.io/xpadneo/") (synopsis "Xbox One Wireless Controller driver for the kernel Linux") (description |