@@ -73,7 +73,7 @@ rec {
7373 # A function that builds a "native" stdenv (one that uses tools in
7474 # /usr etc.).
7575 makeStdenv =
76− { gcc, fetchurl, extraPath ? [], overrides ? (pkgs: { }) }:
76+ { cc, fetchurl, extraPath ? [], overrides ? (pkgs: { }) }:
7777
7878 import ../generic {
7979 preHook =
@@ -88,17 +88,17 @@ rec {
8888
8989 fetchurlBoot = fetchurl;
9090
91− inherit system shell gcc overrides config;
91+ inherit system shell cc overrides config;
9292 };
9393
9494
9595 stdenvBoot0 = makeStdenv {
96− gcc = "/no-such-path";
96+ cc = "/no-such-path";
9797 fetchurl = null;
9898 };
9999
100100
101− gcc = import ../../build-support/gcc-wrapper {
101+ cc = import ../../build-support/gcc-wrapper {
102102 name = "gcc-native";
103103 nativeTools = true;
104104 nativeLibc = true;
@@ -116,7 +116,7 @@ rec {
116116
117117 # First build a stdenv based only on tools outside the store.
118118 stdenvBoot1 = makeStdenv {
119− inherit gcc fetchurl;
119+ inherit cc fetchurl;
120120 } // {inherit fetchurl;};
121121
122122 stdenvBoot1Pkgs = allPackages {
@@ -129,7 +129,7 @@ rec {
129129 # systems don't have, so we mustn't rely on the native environment
130130 # providing it).
131131 stdenvBoot2 = makeStdenv {
132− inherit gcc fetchurl;
132+ inherit cc fetchurl;
133133 extraPath = [ stdenvBoot1Pkgs.xz ];
134134 overrides = pkgs: { inherit (stdenvBoot1Pkgs) xz; };
135135 };