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

@ -24,6 +24,8 @@ stdenv.mkDerivation {
buildInputs = [ jdk ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") xcodewrapper;
JAVA_HOME = jdk;
buildPhase = ''
export HOME=$TMPDIR