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
@@ -125,6 +125,7 @@ in
"i686-solaris" = "/usr/gnu";
"x86_64-solaris" = "/opt/local/gcc47";
}.${system} or "/usr";
targetPlatform = localSystem;
inherit stdenv;
};