nix-on-droid/pkgs/cross-compiling/cross-pkgs-args.nix
2022-10-28 17:52:27 +02:00

16 lines
330 B
Nix

# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
{ config, nixpkgs, system }:
{
inherit system;
crossSystem = {
config = "${config.build.arch}-unknown-linux-android";
sdkVer = "32";
libc = "bionic";
useAndroidPrebuilt = false;
useLLVM = true;
isStatic = true;
};
}