fix(nix): add CI environment flags to prevent terminal rendering crash

Added CI=true, NO_COLOR=1, TERM=dumb, and NX_SKIP_NX_CACHE=true
to both mkViteApp.nix and landing.nix to prevent the vt100-rust
panic during Nix builds.

🤖 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 14:57:17 +07:00
co-authored by Claude Opus 4.5
parent 398350795d
commit c086b1371c
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -19,6 +19,10 @@ pkgs.buildNpmPackage {
runHook preBuild
export NX_DAEMON=false
export HOME=$TMPDIR
export CI=true
export NO_COLOR=1
export TERM=dumb
export NX_SKIP_NX_CACHE=true
npm run landing:build
runHook postBuild
'';
+4
View File
@@ -20,6 +20,10 @@ pkgs.buildNpmPackage {
runHook preBuild
export NX_DAEMON=false
export HOME=$TMPDIR
export CI=true
export NO_COLOR=1
export TERM=dumb
export NX_SKIP_NX_CACHE=true
${pkgs.lib.concatStringsSep "\n" (pkgs.lib.mapAttrsToList (k: v: "export ${k}=\"${v}\"") envVars)}
npm run ${buildScript}
runHook postBuild