From 1144d46f9510b8c31d0195e8049caa0df3eb3fec Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 25 Jul 2024 18:53:17 +0300 Subject: treewide: Rename android `sdkVer` and `ndkVer` `sdkVer` conflicts with the old `sdkVer`(now `darwinSdkVersion` but that still uses `sdkVer` if set) used by darwin This shouldn't be an issue but due to `pkgs/development/interpreters/python/cpython/default.nix` running `lib.filterAttrs (n: v: ! lib.isDerivation v && n != "passthruFun")` on it's inputs (2 of them are darwin only) the `throw "Unsupported sdk...` in `pkgs/top-level/darwin-packages.nix` will be triggered. After this change `pkgsCross.armv7a-android-prebuilt.python3.pythonOnBuildForHost` won't fail with `error: Unsupported sdk: 33` Issue was bisected to 3cb23cec239d4f73bb1b51f26ac7599384fdadd6 --- lib/systems/examples.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 178536efb009..d582ecba2bed 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -60,23 +60,21 @@ rec { armv7a-android-prebuilt = { config = "armv7a-unknown-linux-androideabi"; rust.rustcTarget = "armv7-linux-androideabi"; - sdkVer = "33"; - ndkVer = "26"; useAndroidPrebuilt = true; } // platforms.armv7a-android; aarch64-android-prebuilt = { config = "aarch64-unknown-linux-android"; rust.rustcTarget = "aarch64-linux-android"; - sdkVer = "33"; - ndkVer = "26"; + androidSdkVersion = "33"; + androidNdkVersion = "26"; useAndroidPrebuilt = true; }; aarch64-android = { config = "aarch64-unknown-linux-android"; - sdkVer = "33"; - ndkVer = "26"; + androidSdkVersion = "33"; + androidNdkVersion = "26"; libc = "bionic"; useAndroidPrebuilt = false; useLLVM = true; -- cgit 1.4.1