Skip to content

Commit

Permalink
Merge pull request #5434 from timothyklim/git-url-submodules
Browse files Browse the repository at this point in the history
Support building flakes from a Git repo url with submodules
  • Loading branch information
edolstra authored Nov 8, 2021
2 parents d9c9d0e + 8919b81 commit 6c2af1f
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 6c2af1f

Please sign in to comment.