about summary refs log tree commit diff
path: root/pkgs/build-support/fetchgit/builder.sh
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-12-04 23:32:48 -0800
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-11 09:41:06 -0800
commit741285611f08230f44b443f0b2788dd93c4ba8d0 (patch)
treee208cefdabd4d67baeaa307817a159e58abec0ec /pkgs/build-support/fetchgit/builder.sh
parentecf84de70c91cbb1b540f58391ffb95f4fe53445 (diff)
downloadnixlib-741285611f08230f44b443f0b2788dd93c4ba8d0.tar
nixlib-741285611f08230f44b443f0b2788dd93c4ba8d0.tar.gz
nixlib-741285611f08230f44b443f0b2788dd93c4ba8d0.tar.bz2
nixlib-741285611f08230f44b443f0b2788dd93c4ba8d0.tar.lz
nixlib-741285611f08230f44b443f0b2788dd93c4ba8d0.tar.xz
nixlib-741285611f08230f44b443f0b2788dd93c4ba8d0.tar.zst
nixlib-741285611f08230f44b443f0b2788dd93c4ba8d0.zip
fetchgit: add lfs support
Diffstat (limited to 'pkgs/build-support/fetchgit/builder.sh')
-rw-r--r--pkgs/build-support/fetchgit/builder.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchgit/builder.sh b/pkgs/build-support/fetchgit/builder.sh
index 6ae46469738a..0047a335c76c 100644
--- a/pkgs/build-support/fetchgit/builder.sh
+++ b/pkgs/build-support/fetchgit/builder.sh
@@ -8,6 +8,7 @@ header "exporting $url (rev $rev) into $out"
 
 $SHELL $fetcher --builder --url "$url" --out "$out" --rev "$rev" \
   ${leaveDotGit:+--leave-dotGit} \
+  ${fetchLFS:+--fetch-lfs} \
   ${deepClone:+--deepClone} \
   ${fetchSubmodules:+--fetch-submodules} \
   ${branchName:+--branch-name "$branchName"}