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:
co-authored by
Claude Opus 4.5
parent
c086b1371c
commit
ca51f8aca2
@@ -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
|
||||
'';
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user