2022-06-16 17:23:12 +00:00
|
|
|
{deployAndroidPackage, lib, package, os, autoPatchelfHook, pkgs, stdenv}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
deployAndroidPackage {
|
|
|
|
inherit package os;
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
|
|
|
|
buildInputs = lib.optional (os == "linux") [ pkgs.stdenv.cc.libc pkgs.stdenv.cc.cc pkgs.ncurses5 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
patchInstructions = lib.optionalString (os == "linux") ''
|
|
|
|
autoPatchelf $packageBaseDir/bin
|
|
|
|
'';
|
|
|
|
}
|