fetchgit: fetch submodules since this is the default

This commit is contained in:
figsoda 2023-01-01 14:04:38 -05:00
parent ecd44f7132
commit f87ab5dd73

View File

@ -26,7 +26,7 @@ impl<'a> SimpleFlakeFetcher<'a, 1> for Fetchgit {
Ok((
[url.as_ref()],
flake_prefetch(format!(
"{}+{url}?{}={rev}",
"{}+{url}?{}={rev}&submodules=1",
Self::FLAKE_TYPE,
if rev.len() == 40 { "rev" } else { "ref" },
))?,