From 512a3a4e463e154189a169e93a66d23a06effc6d Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 15 Jan 2014 15:25:50 +0100 Subject: [PATCH] Set JAVA_HOME while building --- pkgs/development/mobile/titaniumenv/build-app.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/mobile/titaniumenv/build-app.nix b/pkgs/development/mobile/titaniumenv/build-app.nix index ebdace06e78a..620b6f994a23 100644 --- a/pkgs/development/mobile/titaniumenv/build-app.nix +++ b/pkgs/development/mobile/titaniumenv/build-app.nix @@ -23,6 +23,8 @@ stdenv.mkDerivation { inherit src; buildInputs = [ jdk ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") xcodewrapper; + + JAVA_HOME = jdk; buildPhase = '' export HOME=$TMPDIR