Fix typo in android.nix PATH

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
Pedro Pombeiro 2019-04-29 18:12:49 +02:00 committed by Igor Mandrigin
parent 0b32ded791
commit 1dc59cb770
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ in
export ANDROID_NDK_ROOT="${androidComposition.androidsdk}/libexec/android-sdk/ndk-bundle"
export ANDROID_NDK_HOME="$ANDROID_NDK_ROOT"
export ANDROID_NDK="$ANDROID_NDK_ROOT"
export PATH="$ANDROID_HOME/bin/$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools:$PATH"
export PATH="$ANDROID_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools:$PATH"
'' +
## We need to make a writeable copy of the Android SDK so that we can accept the license (which causes files to be written to the SDK folders)
## since the nix store is immutable by nature, we can't license the SDK from there.