Skip to content

Commit 374a1c5

Browse files
committed
rustPlatform.fetchCargoVendor: fetch git submodules
1 parent 7b16c13 commit 374a1c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/build-support/rust/fetch-cargo-vendor-util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def download_git_tree(url: str, git_sha_rev: str, out_dir: Path) -> None:
6969
tree_out_dir = out_dir / "git" / git_sha_rev
7070
eprint(f"Fetching {url}#{git_sha_rev} -> git/{git_sha_rev}")
7171

72-
cmd = ["nix-prefetch-git", "--builder", "--quiet", "--url", url, "--rev", git_sha_rev, "--out", str(tree_out_dir)]
72+
cmd = ["nix-prefetch-git", "--builder", "--quiet", "--fetch-submodules", "--url", url, "--rev", git_sha_rev, "--out", str(tree_out_dir)]
7373
subprocess.check_output(cmd)
7474

7575

0 commit comments

Comments
 (0)