Set JAVA_HOME while building
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user