[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: alsa-utils: Use 'modify-phases'.
From: |
Efraim Flashner |
Subject: |
02/02: gnu: alsa-utils: Use 'modify-phases'. |
Date: |
Wed, 31 Aug 2016 05:39:54 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit 491651450306b49fb767b505e299b383bcd05754
Author: Efraim Flashner <address@hidden>
Date: Wed Aug 31 08:37:16 2016 +0300
gnu: alsa-utils: Use 'modify-phases'.
* gnu/packages/linux.scm (alsa-utils)[arguments]: Use 'modify-phases'
syntax.
---
gnu/packages/linux.scm | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2fa85f5..aac2cd1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -885,14 +885,15 @@ MIDI functionality to the Linux-based operating system.")
(string-append "--with-udev-rules-dir="
(assoc-ref %outputs "out")
"/lib/udev/rules.d"))
- #:phases (alist-cons-before
- 'install 'pre-install
- (lambda _
- ;; Don't try to mkdir /var/lib/alsa.
- (substitute* "Makefile"
- (("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
- "true\n")))
- %standard-phases)))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before
+ 'install 'pre-install
+ (lambda _
+ ;; Don't try to mkdir /var/lib/alsa.
+ (substitute* "Makefile"
+ (("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
+ "true\n")))))))
(inputs
`(("libsamplerate" ,libsamplerate)
("ncurses" ,ncurses)