mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: git-when-merged: Add bash-minimal to inputs.
* gnu/packages/version-control.scm (git-when-merged) [arguments]: Remove trailing #t. [inputs]: Add bash-minimal. Change-Id: I7157e12c52d2ff7197bf02ed878eb8bbe6a5523a
This commit is contained in:
parent
68d26688ea
commit
312364b739
1 changed files with 5 additions and 9 deletions
|
@ -3425,23 +3425,19 @@ (define-public git-when-merged
|
|||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(install-file "bin/git-when-merged"
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/bin"))
|
||||
#t))
|
||||
"/bin"))))
|
||||
(add-before 'install 'patch-git
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((git (search-input-file inputs "/bin/git")))
|
||||
(substitute* "bin/git-when-merged"
|
||||
(("'git'") (string-append "'" git "'")))
|
||||
#t)))
|
||||
(("'git'") (string-append "'" git "'"))))))
|
||||
(add-after 'install 'wrap-script
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(wrap-program (string-append (assoc-ref outputs "out")
|
||||
"/bin/git-when-merged")
|
||||
`("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("git" ,git)
|
||||
("python" ,python-wrapper)))
|
||||
`("GUIX_PYTHONPATH" ":" prefix
|
||||
(,(getenv "GUIX_PYTHONPATH")))))))))
|
||||
(inputs (list bash-minimal git python-wrapper))
|
||||
(home-page "https://github.com/mhagger/git-when-merged")
|
||||
(synopsis "Determine when a commit was merged into a Git branch")
|
||||
(description "This Git extension defines a subcommand,
|
||||
|
|
Loading…
Reference in a new issue