summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-07-21 16:35:02 -0400
committerMark H Weaver <mhw@netris.org>2015-07-21 18:25:41 -0400
commit09c414d80c00e9f04b871e334eb0ca3190d46bf0 (patch)
tree1610fce7477dda85bd986069ec621edb270b4c58
parent729b44e3ae42e44cdaba978966dcdb6bc1f1c76e (diff)
downloadguix-09c414d80c00e9f04b871e334eb0ca3190d46bf0.tar.gz
gnu: libsbsms: Use modify-phases.
* gnu/packages/audio.scm (libsbsms)[arguments]: Use modify-phases.
-rw-r--r--gnu/packages/audio.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 8b12b18973..e803979b59 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
+;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1375,16 +1376,16 @@ analysis plugins or audio feature extraction plugins.")
     (native-inputs `(("automake" ,automake)))
     (arguments
      `(#:phases
-       (alist-cons-after
-        'unpack 'fix-ar-lib-path
-        (lambda* (#:key inputs #:allow-other-keys)
-          ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
-          (delete-file "ar-lib")
-          (symlink
-           (string-append (assoc-ref inputs "automake") "/share/automake-"
-                          ,(package-version automake) "/ar-lib")
-           "ar-lib"))
-        %standard-phases)))
+       (modify-phases %standard-phases
+         (add-after
+          'unpack 'fix-ar-lib-path
+          (lambda* (#:key inputs #:allow-other-keys)
+            ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
+            (delete-file "ar-lib")
+            (symlink
+             (string-append (assoc-ref inputs "automake") "/share/automake-"
+                            ,(package-version automake) "/ar-lib")
+             "ar-lib"))))))
     (home-page "http://sbsms.sourceforge.net/")
     (synopsis "Library for time stretching and pitch scaling of audio")
     (description