Skip to content

Commit

Permalink
Merge pull request #102 from HPRIOR/main
Browse files Browse the repository at this point in the history
Add postUnpack hook to run autoPatchelf for platform-tools.nix file.
  • Loading branch information
tadfisher authored Jun 9, 2024
2 parents 217e29f + e214b06 commit 0200523
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/android/platform-tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ mkGeneric (lib.optionalAttrs stdenv.isLinux
buildInputs = [
stdenv.cc.cc.lib
];

postUnpack = ''
autoPatchelf $out
'';

} // {
passthru.installSdk = ''
for exe in adb dmtracedump e2fsdroid etc1tool fastboot hprof-conv make_f2fs mke2fs sload_f2fs; do
Expand Down

0 comments on commit 0200523

Please sign in to comment.