1 { lib, androidenv, buildPackages, pkgs, targetPackages
7 ndkVersion = "21.0.6113669";
9 buildAndroidComposition = buildPackages.buildPackages.androidenv.composeAndroidPackages {
14 androidComposition = androidenv.composeAndroidPackages {
19 import ./androidndk-pkgs.nix {
21 inherit (buildPackages)
22 makeWrapper autoPatchelfHook;
25 runCommand wrapBintoolsWith wrapCCWith;
26 # buildPackages.foo rather than buildPackages.buildPackages.foo would work,
27 # but for splicing messing up on infinite recursion for the variants we
28 # *dont't* use. Using this workaround, but also making a test to ensure
29 # these two really are the same.
30 buildAndroidndk = buildAndroidComposition.ndk-bundle;
31 androidndk = androidComposition.ndk-bundle;
32 targetAndroidndkPkgs = targetPackages.androidndkPkgs_21;
37 ndkVersion = "23.1.7779620";
39 buildAndroidComposition = buildPackages.buildPackages.androidenv.composeAndroidPackages {
44 androidComposition = androidenv.composeAndroidPackages {
49 import ./androidndk-pkgs.nix {
51 inherit (buildPackages)
52 makeWrapper autoPatchelfHook;
55 runCommand wrapBintoolsWith wrapCCWith;
56 # buildPackages.foo rather than buildPackages.buildPackages.foo would work,
57 # but for splicing messing up on infinite recursion for the variants we
58 # *dont't* use. Using this workaround, but also making a test to ensure
59 # these two really are the same.
60 buildAndroidndk = buildAndroidComposition.ndk-bundle;
61 androidndk = androidComposition.ndk-bundle;
62 targetAndroidndkPkgs = targetPackages.androidndkPkgs_23b;
67 ndkVersion = "24.0.8215888";
69 buildAndroidComposition = buildPackages.buildPackages.androidenv.composeAndroidPackages {
74 androidComposition = androidenv.composeAndroidPackages {
79 import ./androidndk-pkgs.nix {
81 inherit (buildPackages)
82 makeWrapper autoPatchelfHook;
85 runCommand wrapBintoolsWith wrapCCWith;
86 # buildPackages.foo rather than buildPackages.buildPackages.foo would work,
87 # but for splicing messing up on infinite recursion for the variants we
88 # *dont't* use. Using this workaround, but also making a test to ensure
89 # these two really are the same.
90 buildAndroidndk = buildAndroidComposition.ndk-bundle;
91 androidndk = androidComposition.ndk-bundle;
92 targetAndroidndkPkgs = targetPackages.androidndkPkgs_24;