aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-07-22 14:44:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-07-22 18:24:22 +0300
commit730c740e43edd659652374601058b3249d0ca96c (patch)
treea377b7c578dcce7647454b7d6293341fc6d37b04
parentf21403e2b6f5a9491937a0cc9f31fc113998ce5e (diff)
downloadpatches-730c740e43edd659652374601058b3249d0ca96c.tar
patches-730c740e43edd659652374601058b3249d0ca96c.tar.gz
gnu: bazaar: Use 'modify-phases'.
* gnu/packages/version-control.scm (bazaar)[arguments]: Use 'modify-phases'.
-rw-r--r--gnu/packages/version-control.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 58bcaad064..6d0d4f991d 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