build: skip ghostty-test graph when building libghostty-vt (#12224)
Fixes #12151 When `emit_lib_vt` is true, the `// Tests` block was still evaluated, pulling in the full ghostty-test dependency graph (freetype, zlib, dcimgui, etc.). This causes the Nix `libghostty-vt` package to fail when `doCheck` is enabled, since those system libraries aren't available in the sandbox. Guard the block with `if (!config.emit_lib_vt)`, following the existing pattern at line 179.pull/12229/head
commit
d3ce8926b9
Loading…
Reference in New Issue