From 491651450306b49fb767b505e299b383bcd05754 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 31 Aug 2016 08:37:16 +0300 Subject: [PATCH] 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 2fa85f5d79..aac2cd19f6 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)