guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: ncmpcpp: Use 'modify-phases'.


From: Leo Famulari
Subject: 01/03: gnu: ncmpcpp: Use 'modify-phases'.
Date: Tue, 23 Feb 2016 01:16:43 +0000

lfam pushed a commit to branch master
in repository guix.

commit 9913c78a09f27bd733a4101a9638ec76d5346879
Author: Leo Famulari <address@hidden>
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 <address@hidden>
 ;;; Copyright © 2014 Ian Denhardt <address@hidden>
 ;;; Copyright © 2015 Paul van der Walt <address@hidden>
+;;; Copyright © 2016 Leo Famulari <address@hidden>
 ;;;
 ;;; 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

[Prev in Thread] Current Thread [Next in Thread]