[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: kmod: Update phase style.
From: |
Tobias Geerinckx-Rice |
Subject: |
06/09: gnu: kmod: Update phase style. |
Date: |
Mon, 19 Feb 2018 21:14:12 -0500 (EST) |
nckx pushed a commit to branch core-updates
in repository guix.
commit 9f2eb4ffad8aecf8340013a8241de4127a080db8
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Feb 19 20:22:26 2018 +0100
gnu: kmod: Update phase style.
* gnu/packages/linux.scm (kmod)[arguments]: Use MODIFY-PHASES syntax and
end phase in #t.
---
gnu/packages/linux.scm | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ee76798..5346676 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1950,19 +1950,20 @@ to use Linux' inotify mechanism, which allows file
accesses to be monitored.")
`(("xz" ,xz)
("zlib" ,zlib)))
(arguments
- `(#:tests? #f ; FIXME: Investigate test failures
+ `(#:tests? #f ; FIXME: Investigate test failures
#:configure-flags '("--with-xz" "--with-zlib")
- #:phases (alist-cons-after
- 'install 'install-modprobe&co
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin")))
- (for-each (lambda (tool)
- (symlink "kmod"
- (string-append bin "/" tool)))
- '("insmod" "rmmod" "lsmod" "modprobe"
- "modinfo" "depmod"))))
- %standard-phases)))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-modprobe&co
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (for-each (lambda (tool)
+ (symlink "kmod"
+ (string-append bin "/" tool)))
+ '("insmod" "rmmod" "lsmod" "modprobe"
+ "modinfo" "depmod"))
+ #t))))))
(home-page "https://www.kernel.org/")
(synopsis "Kernel module tools")
(description "Kmod is a set of tools to handle common tasks with Linux
- branch core-updates created (now 13236d3), Tobias Geerinckx-Rice, 2018/02/19
- 05/09: gnu: kmod: Update to 25., Tobias Geerinckx-Rice, 2018/02/19
- 06/09: gnu: kmod: Update phase style.,
Tobias Geerinckx-Rice <=
- 07/09: gnu: harfbuzz: Update to 1.7.5., Tobias Geerinckx-Rice, 2018/02/19
- 09/09: gnu: pango: Update to 1.41.1., Tobias Geerinckx-Rice, 2018/02/19
- 02/09: gnu: bzip2: Use install-file., Tobias Geerinckx-Rice, 2018/02/19
- 01/09: gnu: lzip: Update to 1.20., Tobias Geerinckx-Rice, 2018/02/19
- 03/09: gnu: fftw: Update to 3.3.7., Tobias Geerinckx-Rice, 2018/02/19
- 08/09: gnu: lcms: Update to 2.9., Tobias Geerinckx-Rice, 2018/02/19
- 04/09: gnu: fftw: Update phase style., Tobias Geerinckx-Rice, 2018/02/19