git.iko.soy/typeable/nixpkgs
on master help sign in
I think this should fix the evaluation errors in hydra
8df8943Daniel Peebles
pkgs/stdenv/darwin/default.nix+3−3
@@ -18,7 +18,7 @@ import ../generic rec {
18
18
19 system = stdenv.system;
19 system = stdenv.system;
20
20
21− gcc = import ../../build-support/gcc-wrapper {
21+ cc = import ../../build-support/gcc-wrapper {
22 nativeTools = false;
22 nativeTools = false;
23 nativeLibc = true;
23 nativeLibc = true;
24 inherit stdenv;
24 inherit stdenv;
@@ -34,8 +34,8 @@ import ../generic rec {
34 fetchurlBoot = stdenv.fetchurlBoot;
34 fetchurlBoot = stdenv.fetchurlBoot;
35
35
36 overrides = pkgs_: {
36 overrides = pkgs_: {
37− inherit gcc;
37+ inherit cc;
38− inherit (gcc) binutils;
38+ inherit (cc) binutils;
39 inherit (pkgs)
39 inherit (pkgs)
40 gzip bzip2 xz bash coreutils diffutils findutils gawk
40 gzip bzip2 xz bash coreutils diffutils findutils gawk
41 gnumake gnused gnutar gnugrep gnupatch perl libcxx libcxxabi;
41 gnumake gnused gnutar gnugrep gnupatch perl libcxx libcxxabi;
pkgs/stdenv/native/default.nix+6−6
@@ -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: { }) }:
77
77
78 import ../generic {
78 import ../generic {
79 preHook =
79 preHook =
@@ -88,17 +88,17 @@ rec {
88
88
89 fetchurlBoot = fetchurl;
89 fetchurlBoot = fetchurl;
90
90
91− inherit system shell gcc overrides config;
91+ inherit system shell cc overrides config;
92 };
92 };
93
93
94
94
95 stdenvBoot0 = makeStdenv {
95 stdenvBoot0 = makeStdenv {
96− gcc = "/no-such-path";
96+ cc = "/no-such-path";
97 fetchurl = null;
97 fetchurl = null;
98 };
98 };
99
99
100
100
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 {
116
116
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;};
121
121
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; };
135 };
135 };