diff options
Diffstat (limited to 'pkgs/development/mobile/titaniumenv/titaniumsdk-3.4.nix')
-rw-r--r-- | pkgs/development/mobile/titaniumenv/titaniumsdk-3.4.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/mobile/titaniumenv/titaniumsdk-3.4.nix b/pkgs/development/mobile/titaniumenv/titaniumsdk-3.4.nix index c8fbb435f3062..aba5ab0f69706 100644 --- a/pkgs/development/mobile/titaniumenv/titaniumsdk-3.4.nix +++ b/pkgs/development/mobile/titaniumenv/titaniumsdk-3.4.nix @@ -61,7 +61,7 @@ stdenv.mkDerivation { import os, sys os.environ['PYTHONPATH'] = '$(echo ${python.modules.sqlite3}/lib/python*/site-packages)' - os.environ['JAVA_HOME'] = '${if stdenv.system == "x86_64-darwin" then jdk else "${jdk}/lib/openjdk"}' + os.environ['JAVA_HOME'] = '${jdk.home}' os.execv('$(pwd)/.builder.py', sys.argv) EOF |