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-06-22 17:52:27 -04:00
committed by John Ericson
parent 8f970d09fe
commit c4ba2e3ef6
6 changed files with 13 additions and 5 deletions
+1
View File
@@ -77,6 +77,7 @@ let inherit (localSystem) system; in
nativeTools = true;
nativePrefix = "/usr";
nativeLibc = true;
targetPlatform = localSystem;
inherit (prevStage) stdenv;
cc = {
name = "clang-9.9.9";