me
/
guix
Archived
1
0
Fork 0

gnu: git-lfs: Patch /bin/sh references.

* gnu/packages/version-control.scm (git-lfs)
[arguments]: Add patch-/bin/sh phase.

Change-Id: I2d455e683e4f6e30cd32f5b1fdaccac71616826c
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Maxim Cournoyer 2023-10-11 18:15:42 -04:00
parent ce12a4118a
commit b6a070d2a3
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 5 additions and 0 deletions

View File

@ -3175,6 +3175,11 @@ will reconstruct the object along its delta-base chain and return it.")
#: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")