summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-01 01:14:58 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-01 01:16:27 -0400
commit9a845de873dfcc31f360a08f1b1f786c6f649c7d (patch)
tree8edc1021c9c025fe59c110b699473900ccd6f798
parent0c3efb9ba05828822ba61105aead64ee3d6dd12c (diff)
lib/systems: Update iOS examples
The commented-out configs are @shlevy's old known-good ones. I changed them as needed to play nice with lib.systems.parse but did not test so leaving them as comments for now.
-rw-r--r--lib/systems/examples.nix32
1 files changed, 26 insertions, 6 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index 848737700b0b..e229cccb365c 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -88,16 +88,36 @@ rec {
#
iphone64 = {
- config = "aarch64-apple-darwin14";
- arch = "arm64";
- libc = "libSystem";
+ config = "aarch64-apple-ios";
+ # config = "aarch64-apple-darwin14";
+ sdkVer = "10.2";
+ useiOSPrebuilt = true;
platform = {};
};
iphone32 = {
- config = "arm-apple-darwin10";
- arch = "armv7-a";
- libc = "libSystem";
+ config = "armv7-apple-ios";
+ # config = "arm-apple-darwin10";
+ sdkVer = "10.2";
+ useiOSPrebuilt = true;
+ platform = {};
+ };
+
+ iphone64-simulator = {
+ config = "x86_64-apple-ios";
+ # config = "x86_64-apple-darwin14";
+ sdkVer = "10.2";
+ useiOSPrebuilt = true;
+ isiPhoneSimulator = true;
+ platform = {};
+ };
+
+ iphone32-simulator = {
+ config = "i686-apple-ios";
+ # config = "i386-apple-darwin11";
+ sdkVer = "10.2";
+ useiOSPrebuilt = true;
+ isiPhoneSimulator = true;
platform = {};
};