summary refs log tree commit diff
path: root/lib/systems/examples.nix
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 /lib/systems/examples.nix
parent0c3efb9ba05828822ba61105aead64ee3d6dd12c (diff)
downloadnixpkgs-9a845de873dfcc31f360a08f1b1f786c6f649c7d.tar
nixpkgs-9a845de873dfcc31f360a08f1b1f786c6f649c7d.tar.gz
nixpkgs-9a845de873dfcc31f360a08f1b1f786c6f649c7d.tar.bz2
nixpkgs-9a845de873dfcc31f360a08f1b1f786c6f649c7d.tar.lz
nixpkgs-9a845de873dfcc31f360a08f1b1f786c6f649c7d.tar.xz
nixpkgs-9a845de873dfcc31f360a08f1b1f786c6f649c7d.tar.zst
nixpkgs-9a845de873dfcc31f360a08f1b1f786c6f649c7d.zip
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.
Diffstat (limited to 'lib/systems/examples.nix')
-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 848737700b0..e229cccb365 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 = {};
   };