aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-10-19 23:58:33 -0400
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:42:27 +0200
commit312364b7392d4ec4af10c1c737a1028e4c994e40 (patch)
treef5d08f199e36a3793139f92a8f7640962499c37c /gnu
parent68d26688ea166feb7459a467d82d28faceb3245e (diff)
downloadguix-312364b7392d4ec4af10c1c737a1028e4c994e40.tar.gz
guix-312364b7392d4ec4af10c1c737a1028e4c994e40.zip
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/version-control.scm14
1 files changed, 5 insertions, 9 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8041c96768..f4b0f8dde0 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -3425,23 +3425,19 @@ directory full of HOWTOs.")
(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,