Replace androidenv by new implementation

This commit is contained in:
Sander van der Burg
2018-12-18 21:16:06 +01:00
parent 2757ddb182
commit 74750dc67d
61 changed files with 5536 additions and 9437 deletions
@@ -0,0 +1,10 @@
{deployAndroidPackage, lib, package, os, autoPatchelfHook, pkgs}:
deployAndroidPackage {
inherit package os;
buildInputs = [ autoPatchelfHook ]
++ lib.optional (os == "linux") [ pkgs.stdenv.glibc pkgs.stdenv.cc.cc ];
patchInstructions = lib.optionalString (os == "linux") ''
autoPatchelf $packageBaseDir/bin
'';
}