summary refs log tree commit diff
path: root/lib/systems
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-06-25 22:18:23 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-06-25 22:18:23 -0400
commit0bfffbc5e19f1a16c19f3cec5272174555006869 (patch)
tree15842d24278f303817918e8ca43c6d0a60e1d901 /lib/systems
parent9b0b31d9813220de53e950d0f207a3b874dc0780 (diff)
downloadnixlib-0bfffbc5e19f1a16c19f3cec5272174555006869.tar
nixlib-0bfffbc5e19f1a16c19f3cec5272174555006869.tar.gz
nixlib-0bfffbc5e19f1a16c19f3cec5272174555006869.tar.bz2
nixlib-0bfffbc5e19f1a16c19f3cec5272174555006869.tar.lz
nixlib-0bfffbc5e19f1a16c19f3cec5272174555006869.tar.xz
nixlib-0bfffbc5e19f1a16c19f3cec5272174555006869.tar.zst
nixlib-0bfffbc5e19f1a16c19f3cec5272174555006869.zip
xcode: add xcodePlatform to system
This give us a little bit more control over what target we are using.
Eventually we can target other things like WatchOS or MacOS.
Diffstat (limited to 'lib/systems')
-rw-r--r--lib/systems/default.nix1
-rw-r--r--lib/systems/examples.nix6
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index ee4c29660a55..5eacc9eb23e1 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -46,7 +46,6 @@ rec {
       # Misc boolean options
       useAndroidPrebuilt = false;
       useiOSPrebuilt = false;
-      isiPhoneSimulator = false;
     } // mapAttrs (n: v: v final.parsed) inspect.predicates
       // args;
   in assert final.useAndroidPrebuilt -> final.isAndroid;
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index 1817a6380ddd..31772ba0054d 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -101,6 +101,7 @@ rec {
     # config = "aarch64-apple-darwin14";
     sdkVer = "10.2";
     xcodeVer = "8.2";
+    xcodePlatform = "iPhoneOS";
     useiOSPrebuilt = true;
     platform = {};
   };
@@ -110,6 +111,7 @@ rec {
     # config = "arm-apple-darwin10";
     sdkVer = "10.2";
     xcodeVer = "8.2";
+    xcodePlatform = "iPhoneOS";
     useiOSPrebuilt = true;
     platform = {};
   };
@@ -119,8 +121,8 @@ rec {
     # config = "x86_64-apple-darwin14";
     sdkVer = "10.2";
     xcodeVer = "8.2";
+    xcodePlatform = "iPhoneSimulator";
     useiOSPrebuilt = true;
-    isiPhoneSimulator = true;
     platform = {};
   };
 
@@ -129,8 +131,8 @@ rec {
     # config = "i386-apple-darwin11";
     sdkVer = "10.2";
     xcodeVer = "8.2";
+    xcodePlatform = "iPhoneSimulator";
     useiOSPrebuilt = true;
-    isiPhoneSimulator = true;
     platform = {};
   };