1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

libfetchers/git: fetch submodules by default

This commit is contained in:
Timothy DeHerrera 2021-06-17 12:00:26 -06:00
parent e6150de90d
commit 769ca4e26d
No known key found for this signature in database
GPG key ID: 19B7285E0F84A536
3 changed files with 8 additions and 8 deletions

View file

@ -172,7 +172,7 @@ struct GitInputScheme : InputScheme
Input input(_input);
bool shallow = maybeGetBoolAttr(input.attrs, "shallow").value_or(false);
bool submodules = maybeGetBoolAttr(input.attrs, "submodules").value_or(false);
bool submodules = maybeGetBoolAttr(input.attrs, "submodules").value_or(true);
bool allRefs = maybeGetBoolAttr(input.attrs, "allRefs").value_or(false);
std::string cacheType = "git";