aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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