GNU bug report logs - #74591
[PATCH] gnu: b4: Fix git binary access.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 28 Nov 2024 13:40:01 UTC

Severity: normal

Tags: patch

Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 74591 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#74591] [PATCH] gnu: b4: Fix git binary access.
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





This bug report was last modified 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.