Skip to content

Commit

Permalink
Try Android SDK version 26
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Nov 25, 2024
1 parent 5928eca commit 770b95f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion overlays/android.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
_final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({
_final: prev: {
pkgsCross = prev.pkgsCross // {
aarch64-android = import prev.path {
inherit system;
inherit (prev) overlays;
crossSystem = prev.lib.systems.examples.aarch64-android // { sdkVer = "26"; };
};
armv7a-android-prebuilt = import prev.path {
inherit system;
inherit (prev) overlays;
crossSystem = prev.lib.systems.examples.armv7a-android-prebuilt // { sdkVer = "26"; };
};
};
} // prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({

# we really only want the static one.
libiconv = (prev.libiconv.override { enableStatic = true; enableShared = false; }).overrideAttrs(_: {
hardeningDisable = [ "fortify" "stackprotector" "format" ];
Expand Down

0 comments on commit 770b95f

Please sign in to comment.