guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: git-lfs: Patch /bin/sh references.


From: guix-commits
Subject: branch master updated: gnu: git-lfs: Patch /bin/sh references.
Date: Mon, 16 Oct 2023 10:44:26 -0400

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b6a070d2a3 gnu: git-lfs: Patch /bin/sh references.
b6a070d2a3 is described below

commit b6a070d2a3c059c1a574dc4048fb8f942e008799
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Oct 11 18:15:42 2023 -0400

    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>
---
 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 @@ 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]