From 24d10bda7853aad4b7b318b897d83fa6eef18f0a Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 22 Mar 2024 23:04:26 +0000 Subject: [PATCH] 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. --- flake.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/flake.nix b/flake.nix index 9d24f45dc..d95dd3591 100644 --- a/flake.nix +++ b/flake.nix @@ -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