Merge pull request #5434 from timothyklim/git-url-submodules
Support building flakes from a Git repo url with submodules
This commit is contained in:
commit
6c2af1f201
|
@ -51,7 +51,7 @@ struct GitInputScheme : InputScheme
|
|||
for (auto &[name, value] : url.query) {
|
||||
if (name == "rev" || name == "ref")
|
||||
attrs.emplace(name, value);
|
||||
else if (name == "shallow")
|
||||
else if (name == "shallow" || name == "submodules")
|
||||
attrs.emplace(name, Explicit<bool> { value == "1" });
|
||||
else
|
||||
url2.query.emplace(name, value);
|
||||
|
|
Loading…
Reference in a new issue