Skip to content

Commit

Permalink
Support building flakes from a Git repo url with submodules query par…
Browse files Browse the repository at this point in the history
…ameter
  • Loading branch information
timothyklim committed Oct 26, 2021
1 parent 5667822 commit 8919b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libfetchers/git.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8919b81

Please sign in to comment.