Set JAVA_HOME while building

This commit is contained in:
Sander van der Burg 2014-01-15 15:25:50 +01:00
parent 0a3fcd502e
commit 512a3a4e46

View File

@ -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