From 3ba1fa7aeb539a34a35250aedf145e7127adb605 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Mon, 16 Sep 2024 21:33:58 +0200 Subject: Fix build of patched git --- tw/packages/git.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tw/packages/git.scm') 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 -- cgit v1.2.3