fix: 🐛 Disable msgpackr native acceleration in Nix deployment

It keeps causing issues with the module loading and being annoying to work with in general
This commit is contained in:
Jesse Wierzbinski 2025-04-15 21:04:08 +02:00
parent 26f2dca5d6
commit d6b15b1b85
No known key found for this signature in database

View file

@ -65,6 +65,7 @@ in
makeWrapper ${lib.getExe bun} $out/bin/${finalAttrs.pname} \
--add-flags "run $out/${finalAttrs.pname}/${finalAttrs.entrypointPath}" \
--set NODE_PATH $out/${finalAttrs.pname}/node_modules \
--set MSGPACKR_NATIVE_ACCELERATION_DISABLED true \
--prefix PATH : ${binPath} \
--prefix LD_LIBRARY_PATH : ${libPath}