From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 66436@debbugs.gnu.org
Cc: "Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
"Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
"Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#66436] [PATCH 1/2] gnu: git-lfs: Patch /bin/sh references.
Date: Wed, 11 Oct 2023 22:48:41 -0400 [thread overview]
Message-ID: <2343e018a06ef7e1ce7d9d7cc2e6d30c76027277.1697078865.git.maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <cover.1697078865.git.maxim.cournoyer@gmail.com>
* gnu/packages/version-control.scm (git-lfs)
[arguments]: Add patch-/bin/sh phase.
Change-Id: I2d455e683e4f6e30cd32f5b1fdaccac71616826c
---
gnu/packages/version-control.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index d9c53af71c..04b52f2a85 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -3175,6 +3175,11 @@ (define-public git-lfs
#:install-source? #f
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/github.com/git-lfs/git-lfs/lfs/hook.go"
+ (("/bin/sh")
+ (search-input-file inputs "bin/sh")))))
(add-after 'unpack 'fix-embed-x-net
(lambda _
(delete-file-recursively "src/golang.org/x/net/publicsuffix/data")
--
2.41.0
next parent reply other threads:[~2023-10-12 2:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1697078865.git.maxim.cournoyer@gmail.com>
2023-10-12 2:48 ` Maxim Cournoyer [this message]
2023-10-14 17:04 ` [bug#66436] [PATCH 1/2] gnu: git-lfs: Patch /bin/sh references Ludovic Courtès
2023-10-16 14:46 ` Maxim Cournoyer
2023-10-16 21:28 ` [bug#66475] " Maxim Cournoyer
2023-10-12 3:02 ` [bug#66475] [PATCH 2/2] git-download: Add support for Git Large File Storage (LFS) Maxim Cournoyer
2023-10-14 17:12 ` [bug#66436] " Ludovic Courtès
2023-10-16 15:10 ` Maxim Cournoyer
2023-10-16 15:15 ` Simon Tournier
2023-10-16 16:23 ` Maxim Cournoyer
2023-10-31 20:30 ` [bug#66475] (was 66436)] " Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2343e018a06ef7e1ce7d9d7cc2e6d30c76027277.1697078865.git.maxim.cournoyer@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=66436@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).