unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74591] [PATCH] gnu: b4: Fix git binary access.
@ 2024-11-28 13:38 Nicolas Graves via Guix-patches via
  2024-12-01  8:06 ` Zheng Junjie
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-11-28 13:38 UTC (permalink / raw)
  To: 74591; +Cc: Nicolas Graves

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#74591] [PATCH] gnu: b4: Fix git binary access.
  2024-11-28 13:38 [bug#74591] [PATCH] gnu: b4: Fix git binary access Nicolas Graves via Guix-patches via
@ 2024-12-01  8:06 ` Zheng Junjie
  0 siblings, 0 replies; 2+ messages in thread
From: Zheng Junjie @ 2024-12-01  8:06 UTC (permalink / raw)
  To: 74591; +Cc: 74591-done, Nicolas Graves

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

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

pushed, closing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-01  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-28 13:38 [bug#74591] [PATCH] gnu: b4: Fix git binary access Nicolas Graves via Guix-patches via
2024-12-01  8:06 ` Zheng Junjie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).