titaniumenv: add 7.1 SDK and make it the default

This commit is contained in:
Sander van der Burg
2018-03-20 17:22:32 +01:00
parent fa3718777e
commit e8e7e78d9f
5 changed files with 109 additions and 5 deletions
@@ -1,4 +1,4 @@
{pkgs, pkgs_i686, xcodeVersion ? "9.2", xcodeBaseDir ? "/Applications/Xcode.app", tiVersion ? "6.3.1.GA"}:
{pkgs, pkgs_i686, xcodeVersion ? "9.2", xcodeBaseDir ? "/Applications/Xcode.app", tiVersion ? "7.1.0.GA"}:
rec {
androidenv = pkgs.androidenv;
@@ -10,6 +10,7 @@ rec {
titaniumsdk = let
titaniumSdkFile = if tiVersion == "6.3.1.GA" then ./titaniumsdk-6.3.nix
else if tiVersion == "7.1.0.GA" then ./titaniumsdk-7.1.nix
else throw "Titanium version not supported: "+tiVersion;
in
import titaniumSdkFile {