[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/20: gnu: acpi-call-linux-module: Use G-expressions.
From: |
guix-commits |
Subject: |
11/20: gnu: acpi-call-linux-module: Use G-expressions. |
Date: |
Wed, 19 Jan 2022 13:14:11 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 2be5454eadf2a1b107ba5a6db1ad67f856b95167
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Dec 26 07:39:42 2021 +0100
gnu: acpi-call-linux-module: Use G-expressions.
* gnu/packages/linux.scm (acpi-call-linux-module)[arguments]:
Rewrite as G-expressions.
---
gnu/packages/linux.scm | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 484d312bba..e6c3334747 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1197,25 +1197,25 @@ It has been modified to remove all non-free binary
blobs.")
(base32 "1s7h9y3adyfhw7cjldlfmid79lrwz3vqlvziw9nwd6x5qdj4w9vp"))))
(build-system linux-module-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:phases
- (modify-phases %standard-phases
- (add-before 'install 'patch-shebangs-harder
- ;; The (only) shebangs in examples/ don't justify a reference.
- ;; However, do substitute a more portable one than the original.
- (lambda _
- (substitute* (find-files "examples" ".")
- (("^(#! *)/[^ ]*/" _ shebang)
- (string-append shebang "/usr/bin/env ")))))
- (add-after 'install 'install-documentation
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (string-append out "/share/doc/" ,name "-" ,version)))
- (for-each (lambda (file)
- (let ((target (string-append doc "/" file)))
- (mkdir-p (dirname target))
- (copy-recursively file target)))
- (list "README.md" "examples"))))))))
+ (list #:tests? #f ; no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'install 'patch-shebangs-harder
+ ;; The (only) shebangs in examples/ don't justify a reference.
+ ;; However, do substitute a slightly more portable one.
+ (lambda _
+ (substitute* (find-files "examples" ".")
+ (("^(#! *)/[^ ]*/" _ shebang)
+ (string-append shebang "/usr/bin/env ")))))
+ (add-after 'install 'install-documentation
+ (lambda _
+ (let* ((doc (string-append #$output "/share/doc/"
+ #$name "-" #$version)))
+ (for-each (lambda (file)
+ (let ((target (string-append doc "/" file)))
+ (mkdir-p (dirname target))
+ (copy-recursively file target)))
+ (list "README.md" "examples"))))))))
(home-page "https://github.com/nix-community/acpi_call")
(synopsis "Linux kernel module to perform ACPI method calls")
(description
- branch master updated (6e92790b42 -> 42f246eb84), guix-commits, 2022/01/19
- 01/20: gnu: bind: Update to 9.16.25., guix-commits, 2022/01/19
- 09/20: gnu: make-linux-libre*: Use G-expressions., guix-commits, 2022/01/19
- 04/20: gnu: hostapd: Use PKG-CONFIG-FOR-TARGET., guix-commits, 2022/01/19
- 05/20: gnu: hostapd: Use G-expressions., guix-commits, 2022/01/19
- 08/20: gnu: scanbd: Fix build., guix-commits, 2022/01/19
- 06/20: gnu: chromaprint: Update to 1.5.1., guix-commits, 2022/01/19
- 07/20: gnu: scanbd: Use G-expressions., guix-commits, 2022/01/19
- 11/20: gnu: acpi-call-linux-module: Use G-expressions.,
guix-commits <=
- 10/20: build-system/linux-module: Use G-expressions., guix-commits, 2022/01/19
- 12/20: gnu: librem-ec-acpi-linux-module: Unquote arguments., guix-commits, 2022/01/19
- 15/20: gnu: vhba-module: Unquote arguments., guix-commits, 2022/01/19
- 16/20: gnu: bbswitch-module: Unquote arguments., guix-commits, 2022/01/19
- 02/20: gnu: expat: Add replacement for [security fixes]., guix-commits, 2022/01/19
- 03/20: gnu: hostapd: Update to 2.10., guix-commits, 2022/01/19
- 13/20: gnu: rtl8821ce-linux-module: Use G-expressions., guix-commits, 2022/01/19
- 14/20: gnu: rtl8812au-aircrack-ng-linux-module: Use G-expressions., guix-commits, 2022/01/19
- 17/20: gnu: ddcci-driver-linux: Update to 0.4.2., guix-commits, 2022/01/19
- 18/20: gnu: ddcci-driver-linux: Use G-expressions., guix-commits, 2022/01/19