Subject: [PATCH] gnu: b4: Fix git binary access.

From: Nicolas Graves <[email-masked]>
Date: Thu, 28 Nov 2024 14:38:46 +0100

* gnu/packages/version-control.scm (b4)[arguments]<#:phases>: Fix
phase 'hardcode-git-bin.
---
 gnu/packages/version-control.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c892a83a98..24dc7bf107 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -3239,7 +3239,7 @@ (define-public b4
                ;; This ensures git is present when called.
                (add-after 'unpack 'hardcode-git-bin
                  (lambda* (#:key inputs #:allow-other-keys)
-                   (substitute* (find-files "b4" "\\.py$")
+                   (substitute* (find-files "src/b4" "\\.py$")
                      (("\\['git'")
                       (string-append
                        "['" (search-input-file inputs "bin/git") "'"))))))))
-- 
2.46.0