···1-{ lib, stdenvNoCC, curl }: # Note that `curl' may be `null', in case of the native stdenvNoCC.
23let
4···10 # resulting store derivations (.drv files) much smaller, which in
11 # turn makes nix-env/nix-instantiate faster.
12 mirrorsFile =
13- stdenvNoCC.mkDerivation ({
14 name = "mirrors-list";
15 builder = ./write-mirror-list.sh;
16 preferLocalBuild = true;
···1+{ lib, buildPackages ? { inherit stdenvNoCC; }, stdenvNoCC, curl }: # Note that `curl' may be `null', in case of the native stdenvNoCC.
23let
4···10 # resulting store derivations (.drv files) much smaller, which in
11 # turn makes nix-env/nix-instantiate faster.
12 mirrorsFile =
13+ buildPackages.stdenvNoCC.mkDerivation ({
14 name = "mirrors-list";
15 builder = ./write-mirror-list.sh;
16 preferLocalBuild = true;