Set JAVA_HOME while building
This commit is contained in:
parent
0a3fcd502e
commit
512a3a4e46
|
@ -23,6 +23,8 @@ stdenv.mkDerivation {
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
buildInputs = [ jdk ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") xcodewrapper;
|
buildInputs = [ jdk ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") xcodewrapper;
|
||||||
|
|
||||||
|
JAVA_HOME = jdk;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
|
|
Loading…
Reference in New Issue