yarn2nix: extend NixOS/nix#5128 workaround to 2.4+
The issue was not fixed in later versions, so we need the workaround for all versions greater than `2.4pre`.
This commit is contained in:
parent
7af591c79c
commit
7f9c7443ae
|
@ -49,7 +49,8 @@ function fetchgit(fileName, url, rev, branch, builtinFetchGit) {
|
||||||
url = "${url}";
|
url = "${url}";
|
||||||
ref = "${branch}";
|
ref = "${branch}";
|
||||||
rev = "${rev}";
|
rev = "${rev}";
|
||||||
} // (if builtins.substring 0 3 builtins.nixVersion == "2.4" then {
|
} // (if builtins.compareVersions "2.4pre" builtins.nixVersion < 0 then {
|
||||||
|
# workaround for https://github.com/NixOS/nix/issues/5128
|
||||||
allRefs = true;
|
allRefs = true;
|
||||||
} else {}));
|
} else {}));
|
||||||
` : `
|
` : `
|
||||||
|
|
Loading…
Reference in a new issue