aboutsummaryrefslogtreecommitdiff
path: root/tw/packages/git.scm
diff options
context:
space:
mode:
authorTimo Wilken2024-09-16 21:33:58 +0200
committerTimo Wilken2024-09-16 21:33:58 +0200
commit3ba1fa7aeb539a34a35250aedf145e7127adb605 (patch)
treeafdc9a5bb46f6a305579234a8470f2ac543e7670 /tw/packages/git.scm
parent618221576f76ffd0bc9cf8ae3f91c899c53795af (diff)
Fix build of patched git
Diffstat (limited to 'tw/packages/git.scm')
-rw-r--r--tw/packages/git.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tw/packages/git.scm b/tw/packages/git.scm
index 62f690fe..9cfda5c3 100644
--- a/tw/packages/git.scm
+++ b/tw/packages/git.scm
@@ -35,7 +35,8 @@
`((add-after 'unpack 'modify-PATH
(lambda* (#:key inputs #:allow-other-keys)
(let ((path (string-split (getenv "PATH") #\:))
- (bash-full (assoc-ref inputs "bash-for-tests")))
+ (bash-full (or (assoc-ref inputs "bash-for-tests")
+ (assoc-ref inputs "bash"))))
;; Drop the test bash from PATH so that (which "sh") and
;; similar does the right thing.
(setenv "PATH" (string-join