1
0
forked from tribes/guix
Files
guix-fork/guix
Maxim Cournoyer e122291204 build: Patch the git-lfs hooks shebangs in `git-fetch'.
This reverts commit b6a070d2a3, which patched
git-lfs so its hooks would refer to a 'sh' from the store, but this reference
was at risk of going stale since the hooks are installed and preserved outside
the store.  The shebangs are now patched in the `git-fetch' procedure
directly.

* guix/scripts/perform-download.scm (perform-git-download): Expand comment.
* guix/git-download.scm (bash-package): New variable.
(git-fetch/in-band*): Add #:bash argument.
(git-fetch-builder): Add it to `inputs', so that it gets added to PATH.
* guix/build/git.scm (git-fetch): Substitute /bin/bash in the post-checkout
git-lfs hook shebang.

Fixes: https://codeberg.org/guix/guix/issues/5616
Reported-by: Simon Josefsson <simon@josefsson.org>
Change-Id: Ife81737705bef5d0a1edad307ed77a479af4609e
2026-02-26 09:59:20 +09:00
..
2025-01-25 01:05:22 +08:00
2025-04-14 17:31:49 +02:00
2025-02-22 23:55:24 +09:00
2026-02-10 23:46:34 +01:00
2025-12-03 14:38:09 +09:00
2026-01-14 09:16:46 +01:00
2025-11-27 14:22:24 +01:00
2026-01-14 09:16:46 +01:00
2026-02-24 09:17:45 +09:00
2026-01-22 13:27:13 +01:00