diff options
Diffstat (limited to 'pkgs/development/mobile/titaniumenv/default.nix')
-rw-r--r-- | pkgs/development/mobile/titaniumenv/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/mobile/titaniumenv/default.nix b/pkgs/development/mobile/titaniumenv/default.nix index ae7a16984b8e..b3c48d55ab77 100644 --- a/pkgs/development/mobile/titaniumenv/default.nix +++ b/pkgs/development/mobile/titaniumenv/default.nix @@ -1,4 +1,4 @@ -{pkgs, pkgs_i686, xcodeVersion ? "7.2", xcodeBaseDir ? "/Applications/Xcode.app", tiVersion ? "5.2.3.GA"}: +{pkgs, pkgs_i686, xcodeVersion ? "7.2", xcodeBaseDir ? "/Applications/Xcode.app", tiVersion ? "6.0.2.GA"}: rec { androidenv = pkgs.androidenv; @@ -11,6 +11,7 @@ rec { titaniumsdk = let titaniumSdkFile = if tiVersion == "5.1.2.GA" then ./titaniumsdk-5.1.nix else if tiVersion == "5.2.3.GA" then ./titaniumsdk-5.2.nix + else if tiVersion == "6.0.2.GA" then ./titaniumsdk-6.0.nix else throw "Titanium version not supported: "+tiVersion; in import titaniumSdkFile { @@ -19,7 +20,7 @@ rec { buildApp = import ./build-app.nix { inherit (pkgs) stdenv python which jdk nodejs; - inherit (pkgs.nodePackages) titanium alloy; + inherit (pkgs.nodePackages_4_x) titanium alloy; inherit (androidenv) androidsdk; inherit (xcodeenv) xcodewrapper; inherit titaniumsdk xcodeBaseDir; |