From f4f4c8bca28b2449c0343b8d1caf31b98cad3b30 Mon Sep 17 00:00:00 2001 From: Yureka Date: Sat, 18 Mar 2023 23:26:11 +0100 Subject: [PATCH] maintainers/scripts/convert-to-import-cargo-lock: fetch submodules --- maintainers/scripts/convert-to-import-cargo-lock/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainers/scripts/convert-to-import-cargo-lock/src/main.rs b/maintainers/scripts/convert-to-import-cargo-lock/src/main.rs index 86bfc1a0d6bd..6eb6768d14e9 100644 --- a/maintainers/scripts/convert-to-import-cargo-lock/src/main.rs +++ b/maintainers/scripts/convert-to-import-cargo-lock/src/main.rs @@ -133,7 +133,7 @@ fn convert(attr: &str, hashes: &mut HashMap) -> 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, )?;