bun: run post hooks after patchelf

This commit is contained in:
Sander
2024-11-22 17:21:57 +00:00
parent 25bd3f0971
commit a5d52b7a45
+2 -1
View File
@@ -35,7 +35,8 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
postInstall =
postPhases = [ "postPatchelf"];
postPatchelf =
lib.optionalString stdenvNoCC.hostPlatform.isDarwin ''
wrapProgram $out/bin/bun \
--prefix DYLD_LIBRARY_PATH : ${lib.makeLibraryPath [ darwin.ICU ]}