mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: git-flow: Use 'modify-phases'.
* gnu/packages/version-control.scm (git-flow)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
430e67a459
commit
aac42d7885
1 changed files with 13 additions and 13 deletions
|
@ -490,19 +490,19 @@ (define-public git-flow
|
||||||
'(#:tests? #f ; no tests
|
'(#:tests? #f ; no tests
|
||||||
#:make-flags (list (string-append "prefix="
|
#:make-flags (list (string-append "prefix="
|
||||||
(assoc-ref %outputs "out")))
|
(assoc-ref %outputs "out")))
|
||||||
#:phases (alist-cons-after
|
#:phases
|
||||||
'unpack 'reset-shFlags-link
|
(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(add-after 'unpack 'reset-shFlags-link
|
||||||
;; The link points to a file in the shFlags submodule.
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; Redirect it to point to our system shFlags.
|
;; The link points to a file in the shFlags submodule.
|
||||||
(let ((shflags (assoc-ref inputs "shflags")))
|
;; Redirect it to point to our system shFlags.
|
||||||
(begin
|
(let ((shflags (assoc-ref inputs "shflags")))
|
||||||
(delete-file "gitflow-shFlags")
|
(begin
|
||||||
(symlink (string-append shflags "/src/shflags")
|
(delete-file "gitflow-shFlags")
|
||||||
"gitflow-shFlags"))))
|
(symlink (string-append shflags "/src/shflags")
|
||||||
(alist-delete
|
"gitflow-shFlags")))))
|
||||||
'configure
|
(delete 'configure)
|
||||||
(alist-delete 'build %standard-phases)))))
|
(delete 'build))))
|
||||||
(home-page "http://nvie.com/posts/a-successful-git-branching-model/")
|
(home-page "http://nvie.com/posts/a-successful-git-branching-model/")
|
||||||
(synopsis "Git extensions for Vincent Driessen's branching model")
|
(synopsis "Git extensions for Vincent Driessen's branching model")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue