mercurial: don't allowGitDependencies

Without allowGitDependencies set to false, there is a dependency chain
fetchCargoVendor -> nix-prefetch-git -> nix. Since Lix requires Mercurial for
its tests, this would cause infinite recursion when the nix package was
overlaid with Lix. Since Mercurial does not have Git dependencies, simply
disallow them.
This commit is contained in:
Alois Wohlschlager
2025-02-07 19:51:11 +01:00
parent 550e11f27b
commit 19ed2a4361
@@ -55,6 +55,7 @@ let
rustPlatform.fetchCargoVendor {
inherit src;
name = "mercurial-${version}";
allowGitDependencies = false;
hash = "sha256-k/K1BupCqnlB++2T7hJxu82yID0jG8HwLNmb2eyx29o=";
sourceRoot = "mercurial-${version}/rust";
}