2 , crossSystem, localSystem, config, overlays
7 assert crossSystem == localSystem;
11 inherit config overlays;
13 stdenv = import ../generic rec {
16 inherit (prevStage.stdenv) buildPlatform hostPlatform targetPlatform;
19 export NIX_ENFORCE_PURITY="''${NIX_ENFORCE_PURITY-1}"
20 export NIX_ENFORCE_NO_NATIVE="''${NIX_ENFORCE_NO_NATIVE-1}"
21 export NIX_IGNORE_LD_THROUGH_GCC=1
24 initialPath = (import ../generic/common-path.nix) { pkgs = prevStage; };
26 cc = import ../../build-support/cc-wrapper {
29 nativePrefix = lib.optionalString hostPlatform.isSunOS "/usr";
31 inherit (prevStage) stdenvNoCC binutils coreutils gnugrep;
32 cc = prevStage.gcc.cc;
34 shell = prevStage.bash + "/bin/sh";
37 shell = prevStage.bash + "/bin/sh";
39 fetchurlBoot = prevStage.stdenv.fetchurlBoot;
41 overrides = self: super: {
43 inherit (cc) binutils;
45 gzip bzip2 xz bash coreutils diffutils findutils gawk
46 gnumake gnused gnutar gnugrep gnupatch perl;