fix(nix): add --jitless flag to workaround V8 memory issue

Add --jitless Node.js flag to work around V8 JIT compilation
memory allocation issues on the server.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
maulanasdqn
2026-01-21 17:16:51 +07:00
co-authored by Claude Opus 4.5
parent ad20eda182
commit b2de22b0ef
+1 -1
View File
@@ -48,7 +48,7 @@ pkgs.buildNpmPackage {
cat > $out/bin/imphnen-landing <<EOF
#!${pkgs.bash}/bin/bash
cd $out/share/landing
exec ${pkgs.nodejs_22}/bin/node apps/landing/server.js "\$@"
exec ${pkgs.nodejs_22}/bin/node --jitless apps/landing/server.js "\$@"
EOF
chmod +x $out/bin/imphnen-landing