mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
34 lines
1.0 KiB
Nix
34 lines
1.0 KiB
Nix
{ androidenv, buildPackages, pkgs, targetPackages
|
|
}:
|
|
|
|
rec {
|
|
"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;
|
|
};
|
|
}
|