mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-02 18:08:11 +00:00
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.
This commit is contained in:
Reference in New Issue
Block a user