Skip to content

build: skip ghostty-test graph when building libghostty-vt#12224

Merged
jcollie merged 1 commit intoghostty-org:mainfrom
kataokatsuki:fix/test-lib-vt-unnecessary-deps
Apr 10, 2026
Merged

build: skip ghostty-test graph when building libghostty-vt#12224
jcollie merged 1 commit intoghostty-org:mainfrom
kataokatsuki:fix/test-lib-vt-unnecessary-deps

Conversation

@kataokatsuki
Copy link
Copy Markdown
Contributor

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.

@ghostty-vouch
Copy link
Copy Markdown
Contributor

ghostty-vouch bot commented Apr 10, 2026

Hi @kataokatsuki, thanks for your interest in contributing!

This project requires that pull request authors are vouched, and you are not in the list of vouched users.

This PR will be closed automatically. See https://github.com/ghostty-org/ghostty/blob/main/CONTRIBUTING.md for more details.

@ghostty-vouch ghostty-vouch bot closed this Apr 10, 2026
@jcollie
Copy link
Copy Markdown
Member

jcollie commented Apr 10, 2026

Looks like GH wasn't fast enough to add you to the vouched list.

@jcollie jcollie reopened this Apr 10, 2026
@kataokatsuki
Copy link
Copy Markdown
Contributor Author

Thanks for reopening!

@mitchellh
Copy link
Copy Markdown
Contributor

Going to close and reopen to try to kick GitHub actions in the ass.

@mitchellh mitchellh closed this Apr 10, 2026
@mitchellh mitchellh reopened this Apr 10, 2026
@mitchellh
Copy link
Copy Markdown
Contributor

CI is very sad and its not this PRs fault. We should wait until some dust settles to re run.

@jcollie jcollie merged commit d3ce892 into ghostty-org:main Apr 10, 2026
153 of 233 checks passed
@github-actions github-actions bot added this to the 1.4.0 milestone Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libghostty-vt: zig build test-lib-vt tries to build unnecessary deps

3 participants