lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 26 lines 1.1 kB view raw
1{deployAndroidPackage, lib, package, os, autoPatchelfHook, makeWrapper, pkgs, pkgsi686Linux, postInstall}: 2 3deployAndroidPackage { 4 inherit package os; 5 nativeBuildInputs = [ makeWrapper ] 6 ++ lib.optionals (os == "linux") [ autoPatchelfHook ]; 7 buildInputs = lib.optionals (os == "linux") [ pkgs.glibc pkgs.zlib pkgs.ncurses5 pkgsi686Linux.glibc pkgsi686Linux.zlib pkgsi686Linux.ncurses5 pkgs.libcxx ]; 8 patchInstructions = '' 9 ${lib.optionalString (os == "linux") '' 10 addAutoPatchelfSearchPath $packageBaseDir/lib 11 if [[ -d $packageBaseDir/lib64 ]]; then 12 addAutoPatchelfSearchPath $packageBaseDir/lib64 13 autoPatchelf --no-recurse $packageBaseDir/lib64 14 fi 15 autoPatchelf --no-recurse $packageBaseDir 16 ''} 17 18 ${lib.optionalString (lib.toInt (lib.versions.major package.revision) < 33) '' 19 wrapProgram $PWD/mainDexClasses \ 20 --prefix PATH : ${pkgs.jdk8}/bin 21 ''} 22 23 cd $out/libexec/android-sdk 24 '' + postInstall; 25 noAuditTmpdir = true; # The checker script gets confused by the build-tools path that is incorrectly identified as a reference to /build 26}