guix-commits
[Top][All Lists]
Advanced

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

01/09: gnu: bazaar: Use 'modify-phases'.


From: Efraim Flashner
Subject: 01/09: gnu: bazaar: Use 'modify-phases'.
Date: Fri, 22 Jul 2016 15:25:07 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 730c740e43edd659652374601058b3249d0ca96c
Author: Efraim Flashner <address@hidden>
Date:   Fri Jul 22 14:44:58 2016 +0300

    gnu: bazaar: Use 'modify-phases'.
    
    * gnu/packages/version-control.scm (bazaar)[arguments]: Use
    'modify-phases'.
---
 gnu/packages/version-control.scm |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 58bcaad..6d0d4f9 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -94,12 +94,13 @@
      `(#:tests? #f ; no test target
        #:python ,python-2   ; Python 3 apparently not yet supported, see
                             ; 
https://answers.launchpad.net/bzr/+question/229048
-       #:phases (alist-cons-after
-                 'unpack 'fix-mandir
-                 (lambda _
-                   (substitute* "setup.py"
-                     (("man/man1") "share/man/man1")))
-                 %standard-phases)))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-mandir
+           (lambda _
+             (substitute* "setup.py"
+                          (("man/man1") "share/man/man1"))
+             #t)))))
     (home-page "https://gnu.org/software/bazaar";)
     (synopsis "Version control system supporting both distributed and 
centralized workflows")
     (description



reply via email to

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