gnu: b4: Fix git binary access.

* gnu/packages/version-control.scm (b4)[arguments]<#:phases>: Fix
phase 'hardcode-git-bin.

Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
This commit is contained in:
Nicolas Graves 2024-11-28 14:38:46 +01:00 committed by Zheng Junjie
parent db8a0b480a
commit 2dc38e493b
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -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") "'"))))))))