7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
9 lines
305 B
Nix
9 lines
305 B
Nix
{deployAndroidPackage, lib, package, os, autoPatchelfHook, stdenv}:
|
|
|
|
deployAndroidPackage {
|
|
inherit package os;
|
|
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
|
|
patchInstructions = lib.optionalString (os == "linux") ''
|
|
autoPatchelf $packageBaseDir/bin
|
|
'';
|
|
}
|