crossStdenv on iphone: Just get info from targetPlatform

This commit is contained in:
John Ericson
2017-04-24 16:12:26 -04:00
parent bef5278664
commit db5a921945
2 changed files with 8 additions and 6 deletions
+1 -5
View File
@@ -35,11 +35,7 @@ in bootStages ++ [
selfBuild = false;
stdenv = if crossSystem.useiOSCross or false
then let
inherit (buildPackages.darwin.ios-cross {
prefix = crossSystem.config;
inherit (crossSystem) arch;
simulator = crossSystem.isiPhoneSimulator or false; })
cc binutils;
inherit (buildPackages.darwin.ios-cross) cc binutils;
in buildPackages.makeStdenvCross
buildPackages.stdenv crossSystem
binutils cc