mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
pkgs: update toolchain and nixpkgs for 21.05
This commit is contained in:
parent
97fdc4c6b2
commit
9fcce0d7df
3 changed files with 21 additions and 30 deletions
|
|
@ -1,18 +1,23 @@
|
|||
# Copyright (c) 2019-2020, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2021, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config, libjpeg, path }:
|
||||
{ config, path }:
|
||||
|
||||
let
|
||||
loadNixpkgs = import ../lib/load-nixpkgs.nix;
|
||||
|
||||
overlayJpegNoStatic = self: super: {
|
||||
inherit libjpeg;
|
||||
};
|
||||
|
||||
crossSystem = {
|
||||
config = "${config.build.arch}-unknown-linux-android";
|
||||
sdkVer = "24";
|
||||
ndkVer = "18b";
|
||||
ndkVer = "21";
|
||||
|
||||
# that one is cool because it could make its way on-device one day,
|
||||
# but it currently isn't static-friendly:
|
||||
# sdkVer = "30";
|
||||
# libc = "bionic";
|
||||
# useAndroidPrebuilt = false;
|
||||
# useLLVM = true;
|
||||
|
||||
# use that one instead
|
||||
sdkVer = "29";
|
||||
useAndroidPrebuilt = true;
|
||||
};
|
||||
in
|
||||
|
|
@ -25,7 +30,6 @@ in
|
|||
|
||||
crossOverlays = [
|
||||
(import "${path}/pkgs/top-level/static.nix")
|
||||
overlayJpegNoStatic
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue