Set JAVA_HOME while building
This commit is contained in:
parent
0a3fcd502e
commit
512a3a4e46
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user