lixVersions: don't allowGitDependencies
Without allowGitDependencies set to false, there is a dependency chain fetchCargoVendor -> nix-prefetch-git -> nix. This would cause infinite recursion when the nix package was overlaid with Lix. Since lix-doc does not have Git dependencies, simply disallow them. Fixes: https://github.com/NixOS/nixpkgs/issues/378715
This commit is contained in:
parent
3a228057f5
commit
8c90e7887c
@ -68,6 +68,7 @@ lib.makeExtensible (self: {
|
||||
docCargoDeps = rustPlatform.fetchCargoVendor {
|
||||
name = "lix-doc-${version}";
|
||||
inherit src;
|
||||
allowGitDependencies = false;
|
||||
sourceRoot = "${src.name or src}/lix-doc";
|
||||
hash = "sha256-VPcrf78gfLlkTRrcbLkPgLOk0o6lsOJBm6HYLvavpNU=";
|
||||
};
|
||||
@ -88,6 +89,7 @@ lib.makeExtensible (self: {
|
||||
docCargoDeps = rustPlatform.fetchCargoVendor {
|
||||
name = "lix-doc-${version}";
|
||||
inherit src;
|
||||
allowGitDependencies = false;
|
||||
sourceRoot = "${src.name or src}/lix-doc";
|
||||
hash = "sha256-U820gvcbQIBaFr2OWPidfFIDXycDFGgXX1NpWDDqENs=";
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user