diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2016-08-31 08:37:16 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2016-08-31 08:38:18 +0300 |
commit | 491651450306b49fb767b505e299b383bcd05754 (patch) | |
tree | 8630fbd9d86908d03ccc65c8df0c9fcb65ac3c2f | |
parent | 43043f23f55a6eccae5ed701c678ee48b3109a1c (diff) | |
download | guix-491651450306b49fb767b505e299b383bcd05754.tar guix-491651450306b49fb767b505e299b383bcd05754.tar.gz |
gnu: alsa-utils: Use 'modify-phases'.
* gnu/packages/linux.scm (alsa-utils)[arguments]: Use 'modify-phases'
syntax.
-rw-r--r-- | gnu/packages/linux.scm | 17 |
1 files 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) |