zig build --fetch
doesn't fetch transitive dependencies
#20976
Labels
bug
Observed behavior contradicts documented or intended behavior
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
All maintainers of Zig should have access to Ghostty, so this reproduction uses Ghostty source:
With https://github.com/ghostty-org/ghostty/commit/59e226154c413a03b41b37ed8ec6c61193b340bd:
If you check out an earlier commit https://github.com/ghostty-org/ghostty/commit/8211e7e83af26406fd451afef03b9c6e2bb5017d this works fine. The difference is that the commit that broke it introduces a dependency with transitive dependencies.
This use case is important to enable sandboxed builds in Nix.
Expected Behavior
This should work and allow builds without internet access.
The text was updated successfully, but these errors were encountered: