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-10 01:40:38 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-10 01:40:38 -0400
commitfeb648ce59ffbed94c58133eb7aa2761992a35e1 (patch)
tree59d45f1cce7aa4809d9601124bcc9006a80204b7 /lib/systems/examples.nix
parenta02be2bd85b37ed8b257e969d9439357844baa24 (diff)
parent70963b382f3f820ba6d3bc3b3aaf50a2957ec1ff (diff)
downloadnixpkgs-feb648ce59ffbed94c58133eb7aa2761992a35e1.tar
nixpkgs-feb648ce59ffbed94c58133eb7aa2761992a35e1.tar.gz
nixpkgs-feb648ce59ffbed94c58133eb7aa2761992a35e1.tar.bz2
nixpkgs-feb648ce59ffbed94c58133eb7aa2761992a35e1.tar.lz
nixpkgs-feb648ce59ffbed94c58133eb7aa2761992a35e1.tar.xz
nixpkgs-feb648ce59ffbed94c58133eb7aa2761992a35e1.tar.zst
nixpkgs-feb648ce59ffbed94c58133eb7aa2761992a35e1.zip
Merge commit '70963b382f3f820ba6d3bc3b3aaf50a2957ec1ff' into lib-platform-simplify
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 80e320406bf..7b34513d837 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -94,16 +94,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 = "armv7a-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 = {};
   };