async-profiler: fix darwin build

This commit is contained in:
Uri Baghin
2021-05-07 23:23:29 -07:00
committed by Jonathan Ringer
parent 2af2325cf7
commit 51e20564df
2 changed files with 32 additions and 0 deletions
@@ -22,6 +22,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
patches = [
# https://github.com/jvm-profiling-tools/async-profiler/pull/428
./0001-Fix-darwin-build.patch
];
fixupPhase = ''
substituteInPlace $out/bin/async-profiler \
--replace 'JATTACH=$SCRIPT_DIR/build/jattach' \