android: readd 18b ndk
This is referenced in all-packages.nix, so might as well leave it heref or now.
This commit is contained in:
parent
4cbca0893a
commit
ff33855bf0
|
@ -2,6 +2,35 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
"18b" =
|
||||||
|
let
|
||||||
|
ndkVersion = "18.1.5063045";
|
||||||
|
|
||||||
|
buildAndroidComposition = buildPackages.buildPackages.androidenv.composeAndroidPackages {
|
||||||
|
includeNDK = true;
|
||||||
|
inherit ndkVersion;
|
||||||
|
};
|
||||||
|
|
||||||
|
androidComposition = androidenv.composeAndroidPackages {
|
||||||
|
includeNDK = true;
|
||||||
|
inherit ndkVersion;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
import ./androidndk-pkgs.nix {
|
||||||
|
inherit (buildPackages)
|
||||||
|
makeWrapper;
|
||||||
|
inherit (pkgs)
|
||||||
|
stdenv
|
||||||
|
runCommand wrapBintoolsWith wrapCCWith;
|
||||||
|
# buildPackages.foo rather than buildPackages.buildPackages.foo would work,
|
||||||
|
# but for splicing messing up on infinite recursion for the variants we
|
||||||
|
# *dont't* use. Using this workaround, but also making a test to ensure
|
||||||
|
# these two really are the same.
|
||||||
|
buildAndroidndk = buildAndroidComposition.ndk-bundle;
|
||||||
|
androidndk = androidComposition.ndk-bundle;
|
||||||
|
targetAndroidndkPkgs = targetPackages.androidndkPkgs_18b;
|
||||||
|
};
|
||||||
|
|
||||||
"21" =
|
"21" =
|
||||||
let
|
let
|
||||||
ndkVersion = "21.0.6113669";
|
ndkVersion = "21.0.6113669";
|
||||||
|
|
Loading…
Reference in New Issue