fetchgit: Implement option to not check out submodules.

This commit is contained in:
ambrop7@gmail.com
2014-03-25 20:03:55 +01:00
parent ae8a8b5deb
commit 3a765a7309
3 changed files with 11 additions and 4 deletions
+3 -1
View File
@@ -6,6 +6,8 @@ source $stdenv/setup
header "exporting $url (rev $rev) into $out"
$fetcher --builder --url "$url" --out "$out" --rev "$rev" ${leaveDotGit:+--leave-dotGit}
$fetcher --builder --url "$url" --out "$out" --rev "$rev" \
${leaveDotGit:+--leave-dotGit} \
${fetchSubmodules:+--fetch-submodules}
stopNest