diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-10-22 23:41:22 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-11-07 12:33:26 -0500 |
commit | a4db19d8e07eeb26931edfde0f0e6bca4e0448d3 (patch) | |
tree | b199fbfd0de831b5bc5e032124de35568acf9141 /manifest.scm | |
parent | 889a6204f871fa47ba1ce12bf4a5e9600576f86a (diff) | |
download | guix-a4db19d8e07eeb26931edfde0f0e6bca4e0448d3.tar.gz |
git-download: Add support for Git Large File Storage (LFS).
* guix/build/git.scm (git-fetch) [lfs?]: New argument, doc and setup code. (git-fetch-with-fallback) [lfs?]: New argument. Pass it to git-fetch. * guix/git-download.scm (git-lfs-package): New procedure. (git-fetch/in-band*): New procedure, made of the logic of git-fetch/in-band, with new git-lfs specifics, with the following changes: New #:git-lfs argument. <inputs>: Remove labels. Conditionally add git-lfs. <build>: Read "git lfs?" environment variable and pass its value to the #:lfs? argument of git-fetch-with-fallback. Use INPUTS directly; update comment. <gexp->derivation>: Add "git lfs?" to #:env-vars. (git-fetch/in-band): Express in terms of git-fetch/in-band*. (git-fetch/lfs): New procedure. * doc/guix.texi (origin Reference): Document it. Change-Id: I5b233b8642a7bdb8737b9d9b740e7254a89ccb25 Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'manifest.scm')
0 files changed, 0 insertions, 0 deletions