nix: set GRADLE_USER_HOME to a temp dir
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
0be5f5d8d0
commit
8bb99743a7
|
@ -136,6 +136,9 @@ in stdenv.mkDerivation rec {
|
||||||
assert ANDROID_ABI_SPLIT != null && ANDROID_ABI_SPLIT != "";
|
assert ANDROID_ABI_SPLIT != null && ANDROID_ABI_SPLIT != "";
|
||||||
assert stringLength ANDROID_ABI_INCLUDE > 0;
|
assert stringLength ANDROID_ABI_INCLUDE > 0;
|
||||||
''
|
''
|
||||||
|
# Fixes issue with failing to load libnative-platform.so
|
||||||
|
export GRADLE_USER_HOME=$(mktemp -d)
|
||||||
|
|
||||||
pushd ./android
|
pushd ./android
|
||||||
${adhocEnvVars} ${pkgs.gradle}/bin/gradle \
|
${adhocEnvVars} ${pkgs.gradle}/bin/gradle \
|
||||||
${toString gradleOpts} \
|
${toString gradleOpts} \
|
||||||
|
|
Loading…
Reference in New Issue