dart.fetchGitHashesScript: fetch submodules to match behavior of fetchgit (#502322)

This commit is contained in:
Peder Bergebakken Sundt
2026-04-10 21:55:48 +00:00
committed by GitHub
@@ -9,7 +9,7 @@ from pathlib import Path
def fetch_git_hash(url: str, rev: str) -> str:
result = subprocess.run(
["nix-prefetch-git", "--url", url, "--rev", rev],
["nix-prefetch-git", "--fetch-submodules", "--url", url, "--rev", rev],
capture_output=True,
text=True,
check=True,