[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: git: Use 'modify-phases'.
From: |
Efraim Flashner |
Subject: |
08/09: gnu: git: Use 'modify-phases'. |
Date: |
Fri, 22 Jul 2016 15:25:08 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit 2ce516d359d9f2525f6b78f1de6dcee8de1c40ae
Author: Efraim Flashner <address@hidden>
Date: Fri Jul 22 17:17:02 2016 +0300
gnu: git: Use 'modify-phases'.
* gnu/packages/version-control.scm (git)[arguments]: Use 'modify-phases'.
---
gnu/packages/version-control.scm | 39 ++++++++++++++++++--------------------
1 file changed, 18 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index cdaf53c..450f7f5 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -167,25 +167,23 @@ as well as the classic centralized workflow.")
#:modules ((srfi srfi-1)
,@%gnu-build-system-modules)
#:phases
- (alist-cons-after
- 'configure 'patch-makefile-shebangs
- (lambda _
- (substitute* "Makefile"
- (("/bin/sh") (which "sh"))
- (("/usr/bin/perl") (which "perl"))
- (("/usr/bin/python") (which "python"))))
- (alist-cons-after
- 'install 'install-shell-completion
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (completions (string-append out "/etc/bash_completion.d")))
- ;; TODO: Install the tcsh and zsh completions in the right place.
- (mkdir-p completions)
- (copy-file "contrib/completion/git-completion.bash"
- (string-append completions "/git"))
- #t))
- (alist-cons-after
- 'install 'split
+ (modify-phases %standard-phases
+ (add-after 'configure 'patch-makefile-shebangs
+ (lambda _
+ (substitute* "Makefile"
+ (("/bin/sh") (which "sh"))
+ (("/usr/bin/perl") (which "perl"))
+ (("/usr/bin/python") (which "python")))))
+ (add-after 'install 'install-shell-completion
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (completions (string-append out "/etc/bash_completion.d")))
+ ;; TODO: Install the tcsh and zsh completions in the right place.
+ (mkdir-p completions)
+ (copy-file "contrib/completion/git-completion.bash"
+ (string-append completions "/git"))
+ #t)))
+ (add-after 'install 'split
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Split the binaries to the various outputs.
(let* ((out (assoc-ref outputs "out"))
@@ -257,8 +255,7 @@ as well as the classic centralized workflow.")
;; specify a single directory, not a search path.
(wrap-program (string-append out "/bin/git")
`("PATH" ":" prefix
- ("$HOME/.guix-profile/libexec/git-core")))))
- %standard-phases)))))
+ ("$HOME/.guix-profile/libexec/git-core")))))))))
(native-search-paths
;; For HTTPS access, Git needs a single-file certificate bundle, specified
- branch master updated (f21403e -> 8ef843c), Efraim Flashner, 2016/07/22
- 01/09: gnu: bazaar: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 07/09: gnu: cssc: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 05/09: gnu: subversion: Use https., Efraim Flashner, 2016/07/22
- 03/09: gnu: gnuplot: Update to upstream's re-release of 5.0.4., Efraim Flashner, 2016/07/22
- 04/09: gnu: git-flow: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 08/09: gnu: git: Use 'modify-phases'.,
Efraim Flashner <=
- 02/09: gnu: enlightenment: Update to 0.21.1., Efraim Flashner, 2016/07/22
- 06/09: gnu: subversion: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 09/09: gnu: aegis: Use 'modify-phases'., Efraim Flashner, 2016/07/22