Skip to content

Commit

Permalink
Fix android sdk/ndk pins so they work for ci.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Nov 27, 2024
1 parent fac5029 commit 1d689df
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions overlays/android.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
_final: prev: {
final: prev: {
# Use android SDK version 26
pkgsCross = prev.pkgsCross // {
aarch64-android = import prev.path {
inherit (prev) system overlays;
crossSystem = prev.lib.systems.examples.aarch64-android // {
androidSdkVersion = "26";
androidNdkVersion = "24";
};
};
armv7a-android-prebuilt = import prev.path {
inherit (prev) system overlays;
crossSystem = prev.lib.systems.examples.armv7a-android-prebuilt // {
androidSdkVersion = "26";
androidNdkVersion = "24";
lib = prev.lib // {
systems = prev.lib.systems // {
examples = prev.lib.systems.examples // {
aarch64-android = prev.lib.systems.examples.aarch64-android // {
androidSdkVersion = "26";
androidNdkVersion = "24";
};
armv7a-android-prebuilt = prev.lib.systems.examples.armv7a-android-prebuilt // {
androidSdkVersion = "26";
androidNdkVersion = "24";
};
};
};
};
Expand Down

0 comments on commit 1d689df

Please sign in to comment.