mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
WIP UGLY
This commit is contained in:
parent
2ff75c4eca
commit
9dfa32878b
2 changed files with 11 additions and 3 deletions
|
|
@ -82,7 +82,13 @@ in
|
|||
environment.files = {
|
||||
inherit login loginInner;
|
||||
|
||||
prootStatic = customPkgs.prootTermux;
|
||||
prootStatic =
|
||||
let
|
||||
nixpkgs = import ../../../pkgs/cross-compiling/cross-pkgs.nix { };
|
||||
tallocStatic = nixpkgs.callPackage ../../../pkgs/cross-compiling/talloc-static.nix { };
|
||||
prootTermux = nixpkgs.callPackage ../../../pkgs/cross-compiling/proot-termux.nix { inherit tallocStatic; };
|
||||
in
|
||||
prootTermux;
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,12 +1,14 @@
|
|||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config }:
|
||||
#{ config }:
|
||||
{ }:
|
||||
|
||||
let
|
||||
loadNixpkgs = import ../lib/load-nixpkgs.nix;
|
||||
|
||||
crossSystem = {
|
||||
config = "${config.build.arch}-unknown-linux-android";
|
||||
#config = "${config.build.arch}-unknown-linux-android";
|
||||
config = "aarch64-unknown-linux-android";
|
||||
sdkVer = "32";
|
||||
libc = "bionic";
|
||||
useAndroidPrebuilt = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue