Use pkgs.fetchurl instead of implicit builtins.fetchurl

We do not want or need these downloads at eval time,
and it breaks eval/builds in memory-constrained environments.
This commit is contained in:
Stefan Frijters
2025-09-20 14:02:42 +02:00
parent dd6c6f4de7
commit d37e988cee
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ let
cp -R * "$out/$dirName/"
'';
nativeBuildInputs = [ pkgs.unzip ];
src = fetchurl ({
src = pkgs.fetchurl ({
url = system.url;
} // (convertHash system.checksum));
};
@@ -58,7 +58,7 @@ let
runHook postInstall
'';
nativeBuildInputs = [ pkgs.unzip ];
src = fetchurl ({
src = pkgs.fetchurl ({
url = url;
} // (convertHash checksum));
};