From 29d364498ee87e134cb53ee15350001417eaedc6 Mon Sep 17 00:00:00 2001 From: Baptiste Strazzulla Date: Wed, 20 Aug 2025 18:33:19 +0200 Subject: [PATCH] gnu: git-lfs: Fix build. This change is to bypass combination of go-build-system and custom make targets where the import path is set manually, see discussion in guix/guix#2133. * gnu/packages/version-control.scm (git-lfs): Rename binary and home page Change-Id: Ic87627412f715ebed07cf79ddd298e777746975f Reviewed-by: Nicolas Graves Reviewed-by: Maxim Cournoyer Signed-off-by: Sharlatan Hellseher --- gnu/packages/version-control.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index f03994406e7..b870f7396d2 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -4224,7 +4224,11 @@ will reconstruct the object along its delta-base chain and return it.") (install-file manpage (string-append #$output "/share/man/man1"))) (find-files "." "^git-lfs.*\\.1$")))))) - #~())))) + #~()) + (add-after 'install 'rename-binary + (lambda _ + (with-directory-excursion (string-append #$output "/bin") + (rename-file "v3" "git-lfs"))))))) (native-inputs (append (list git-minimal go-github-com-avast-retry-go @@ -4251,7 +4255,7 @@ will reconstruct the object along its delta-base chain and return it.") (if (supported-package? ruby-asciidoctor/minimal) (list ronn-ng ruby-asciidoctor/minimal) '()))) - (home-page "https://git-lfs.github.com/") + (home-page "https://git-lfs.com/") (synopsis "Git extension for versioning large files") (description "Git Large File Storage (LFS) replaces large files such as audio samples,