diff options
author | Timo Wilken | 2024-09-16 21:33:58 +0200 |
---|---|---|
committer | Timo Wilken | 2024-09-16 21:33:58 +0200 |
commit | 3ba1fa7aeb539a34a35250aedf145e7127adb605 (patch) | |
tree | afdc9a5bb46f6a305579234a8470f2ac543e7670 | |
parent | 618221576f76ffd0bc9cf8ae3f91c899c53795af (diff) |
Fix build of patched git
-rw-r--r-- | tw/packages/git.scm | 3 |
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 |