diff options
author | Sander van der Burg <svanderburg@gmail.com> | 2018-03-20 17:22:32 +0100 |
---|---|---|
committer | Sander van der Burg <svanderburg@gmail.com> | 2018-03-20 17:22:32 +0100 |
commit | e8e7e78d9fbc5eb8cfb49d51d796123a79a08799 (patch) | |
tree | 487478b215daf435b3a38f947035b9e377683cd5 /pkgs/development/mobile/titaniumenv/build-app.nix | |
parent | fa3718777efeb119817a96aa51cf160b9378bba2 (diff) | |
download | nixpkgs-e8e7e78d9fbc5eb8cfb49d51d796123a79a08799.tar nixpkgs-e8e7e78d9fbc5eb8cfb49d51d796123a79a08799.tar.gz nixpkgs-e8e7e78d9fbc5eb8cfb49d51d796123a79a08799.tar.bz2 nixpkgs-e8e7e78d9fbc5eb8cfb49d51d796123a79a08799.tar.lz nixpkgs-e8e7e78d9fbc5eb8cfb49d51d796123a79a08799.tar.xz nixpkgs-e8e7e78d9fbc5eb8cfb49d51d796123a79a08799.tar.zst nixpkgs-e8e7e78d9fbc5eb8cfb49d51d796123a79a08799.zip |
titaniumenv: add 7.1 SDK and make it the default
Diffstat (limited to 'pkgs/development/mobile/titaniumenv/build-app.nix')
-rw-r--r-- | pkgs/development/mobile/titaniumenv/build-app.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/mobile/titaniumenv/build-app.nix b/pkgs/development/mobile/titaniumenv/build-app.nix index 4079adaef51..25713a1b88b 100644 --- a/pkgs/development/mobile/titaniumenv/build-app.nix +++ b/pkgs/development/mobile/titaniumenv/build-app.nix @@ -47,7 +47,7 @@ in stdenv.mkDerivation { name = stdenv.lib.replaceChars [" "] [""] name; inherit src; - + buildInputs = [ nodejs titanium alloy jdk python which file ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") xcodewrapper; buildPhase = '' @@ -84,7 +84,8 @@ stdenv.mkDerivation { titanium config --config-file $TMPDIR/config.json --no-colors android.sdkPath ${androidsdkComposition}/libexec export PATH=$(echo ${androidsdkComposition}/libexec/tools):$(echo ${androidsdkComposition}/libexec/build-tools/android-*):$PATH - + export GRADLE_USER_HOME=$TMPDIR/gradle + ${if release then ''titanium build --config-file $TMPDIR/config.json --no-colors --force --platform android --target dist-playstore --keystore ${androidKeyStore} --alias ${androidKeyAlias} --store-password ${androidKeyStorePassword} --output-dir $out'' else |