11 assert crossSystem == localSystem;
16 inherit config overlays;
18 stdenv = import ../generic rec {
21 inherit (prevStage.stdenv) buildPlatform hostPlatform targetPlatform;
24 export NIX_ENFORCE_PURITY="''${NIX_ENFORCE_PURITY-1}"
25 export NIX_ENFORCE_NO_NATIVE="''${NIX_ENFORCE_NO_NATIVE-1}"
26 export NIX_IGNORE_LD_THROUGH_GCC=1
29 initialPath = (import ../generic/common-path.nix) { pkgs = prevStage; };
31 cc = import ../../build-support/cc-wrapper {
34 nativePrefix = lib.optionalString hostPlatform.isSunOS "/usr";
42 cc = prevStage.gcc.cc;
44 shell = prevStage.bash + "/bin/sh";
47 shell = prevStage.bash + "/bin/sh";
49 fetchurlBoot = prevStage.stdenv.fetchurlBoot;
51 overrides = self: super: {
53 inherit (cc) binutils;