3
0
Fork 0
forked from mirrors/nixpkgs

maintainers/scripts/convert-to-import-cargo-lock: fetch submodules

This commit is contained in:
Yureka 2023-03-18 23:26:11 +01:00
parent 34c848fe08
commit f4f4c8bca2

View file

@ -133,7 +133,7 @@ fn convert(attr: &str, hashes: &mut HashMap<String, String>) -> anyhow::Result<(
let prefetch_output: PrefetchOutput = serde_json::from_slice(
&Command::new("nix-prefetch-git")
.args(["--url", url, "--rev", rev, "--quiet"])
.args(["--url", url, "--rev", rev, "--quiet", "--fetch-submodules"])
.output()?
.stdout,
)?;