@@ -73,7 +73,7 @@ rec {
73 # A function that builds a "native" stdenv (one that uses tools in
73 # A function that builds a "native" stdenv (one that uses tools in
74 # /usr etc.).
74 # /usr etc.).
75 makeStdenv =
75 makeStdenv =
76− { gcc, fetchurl, extraPath ? [], overrides ? (pkgs: { }) }:
76+ { cc, fetchurl, extraPath ? [], overrides ? (pkgs: { }) }:
78 import ../generic {
78 import ../generic {
@@ -88,17 +88,17 @@ rec {
89 fetchurlBoot = fetchurl;
89 fetchurlBoot = fetchurl;
91− inherit system shell gcc overrides config;
91+ inherit system shell cc overrides config;
95 stdenvBoot0 = makeStdenv {
95 stdenvBoot0 = makeStdenv {
96− gcc = "/no-such-path";
96+ cc = "/no-such-path";
97 fetchurl = null;
97 fetchurl = null;
101− gcc = import ../../build-support/gcc-wrapper {
101+ cc = import ../../build-support/gcc-wrapper {
102 name = "gcc-native";
102 name = "gcc-native";
103 nativeTools = true;
103 nativeTools = true;
104 nativeLibc = true;
104 nativeLibc = true;
@@ -116,7 +116,7 @@ rec {
117 # First build a stdenv based only on tools outside the store.
117 # First build a stdenv based only on tools outside the store.
118 stdenvBoot1 = makeStdenv {
118 stdenvBoot1 = makeStdenv {
119− inherit gcc fetchurl;
119+ inherit cc fetchurl;
120 } // {inherit fetchurl;};
120 } // {inherit fetchurl;};
122 stdenvBoot1Pkgs = allPackages {
122 stdenvBoot1Pkgs = allPackages {
@@ -129,7 +129,7 @@ rec {
129 # systems don't have, so we mustn't rely on the native environment
129 # systems don't have, so we mustn't rely on the native environment
130 # providing it).
130 # providing it).
131 stdenvBoot2 = makeStdenv {
131 stdenvBoot2 = makeStdenv {
132− inherit gcc fetchurl;
132+ inherit cc fetchurl;
133 extraPath = [ stdenvBoot1Pkgs.xz ];
133 extraPath = [ stdenvBoot1Pkgs.xz ];
134 overrides = pkgs: { inherit (stdenvBoot1Pkgs) xz; };
134 overrides = pkgs: { inherit (stdenvBoot1Pkgs) xz; };