cc-wrapper: Remove stdenv.is* for targetPlatform.is*

Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
This commit is contained in:
John Ericson
2017-05-21 14:51:02 -04:00
committed by John Ericson
parent 8f970d09fe
commit c4ba2e3ef6
6 changed files with 13 additions and 5 deletions

View File

@@ -76,6 +76,7 @@ let
else lib.makeOverridable (import ../../build-support/cc-wrapper) {
nativeTools = false;
nativeLibc = false;
targetPlatform = localSystem;
cc = prevStage.gcc-unwrapped;
isGNU = true;
libc = prevStage.glibc;
@@ -239,6 +240,7 @@ in
nativeTools = false;
nativeLibc = false;
isGNU = true;
targetPlatform = localSystem;
cc = prevStage.gcc-unwrapped;
libc = self.glibc;
inherit (self) stdenv binutils coreutils gnugrep;