fix(nix): disable Nx native terminal to prevent build crash

Add NX_TASKS_RUNNER_DYNAMIC_OUTPUT=false and NX_NATIVE=false
to completely disable Nx's Rust-based terminal handling that
crashes in non-TTY build environments.

🤖 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 16:25:27 +07:00
co-authored by Claude Opus 4.5
parent c086b1371c
commit ca51f8aca2
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -23,6 +23,8 @@ pkgs.buildNpmPackage {
export NO_COLOR=1
export TERM=dumb
export NX_SKIP_NX_CACHE=true
export NX_TASKS_RUNNER_DYNAMIC_OUTPUT=false
export NX_NATIVE=false
npm run landing:build
runHook postBuild
'';
+2
View File
@@ -24,6 +24,8 @@ pkgs.buildNpmPackage {
export NO_COLOR=1
export TERM=dumb
export NX_SKIP_NX_CACHE=true
export NX_TASKS_RUNNER_DYNAMIC_OUTPUT=false
export NX_NATIVE=false
${pkgs.lib.concatStringsSep "\n" (pkgs.lib.mapAttrsToList (k: v: "export ${k}=\"${v}\"") envVars)}
npm run ${buildScript}
runHook postBuild