nix: set ANDROID_SDK_HOME to a tmp directory
This fixes issues with Gradle complaining about lack of `~/.android`. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4704cef3da
commit
b33c086966
|
@ -143,6 +143,7 @@ in stdenv.mkDerivation rec {
|
|||
''
|
||||
# Fixes issue with failing to load libnative-platform.so
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
export ANDROID_SDK_HOME=$(mktemp -d)
|
||||
|
||||
pushd ./android
|
||||
${adhocEnvVars} ${pkgs.gradle}/bin/gradle \
|
||||
|
|
Loading…
Reference in New Issue