lfam pushed a commit to branch master
in repository guix.

commit 9913c78a09f27bd733a4101a9638ec76d5346879
Author: Leo Famulari <l...@famulari.name>
Date:   Sun Feb 21 03:30:30 2016 -0500

    gnu: ncmpcpp: Use 'modify-phases'.
    
    * gnu/packages/mpd.scm (ncmpcpp)[arguments]: Use 'modify-phases'.
---
 gnu/packages/mpd.scm |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index b5a0d94..e36f87e 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2014 Cyrill Schenkel <cyrill.schen...@gmail.com>
 ;;; Copyright © 2014 Ian Denhardt <i...@zenhack.net>
 ;;; Copyright © 2015 Paul van der Walt <p...@denknerd.org>
+;;; Copyright © 2016 Leo Famulari <l...@famulari.name>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -202,12 +203,11 @@ terminal using ncurses.")
      '(#:configure-flags
        '("BOOST_LIB_SUFFIX=" "--with-taglib")
        #:phases
-       (alist-cons-after
-        'unpack 'autogen
-        (lambda _
-          (setenv "NOCONFIGURE" "true")
-          (zero? (system* "sh" "autogen.sh")))
-        %standard-phases)))
+       (modify-phases %standard-phases
+        (add-after 'unpack 'autogen
+         (lambda _
+           (setenv "NOCONFIGURE" "true")
+           (zero? (system* "sh" "autogen.sh")))))))
     (synopsis "Featureful ncurses based MPD client inspired by ncmpc")
     (description "Ncmpcpp is an mpd client with a UI very similar to ncmpc,
 but it provides new useful features such as support for regular expressions

Reply via email to