build(nix): do not change PATH

Version 30.0.3 is outdated (we use build-tools 33.0.1)
and toolchain path is determined by scripts/ndk-make.sh
so there is no need to add toolchain binaries to PATH.
On macOS there is no linux-x86_64 folder as well.
This commit is contained in:
link2xt 2024-03-22 23:04:26 +00:00
parent 122bb0dbff
commit 24d10bda78

View file

@ -29,9 +29,6 @@
ANDROID_SDK_ROOT = "${android-sdk}/share/android-sdk";
ANDROID_NDK_ROOT =
"${android-sdk}/share/android-sdk/ndk/23.2.8568313";
shellHook = ''
export PATH="$ANDROID_SDK_ROOT/build-tools/30.0.3/:$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/:$PATH"
'';
buildInputs = [
android-sdk
pkgs.openjdk17