1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-28 05:00:29 +02:00

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

View File

@@ -3239,7 +3239,7 @@ email header.")
;; 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") "'"))))))))