Rewrites the protest dependency url in build.zig.zon (doesn't change the dependency version). Fixes the following error seen on latest Zig master (0.12.0-dev.2811+3cafb9655):
Clear Zig caches (to ensure Zig build will attempt to fetch the protest dependency instead of using a cached version; there might be a better way to do this that doesn't involve nuking the entire cache): rm -rf ~/.cache/zig; cd path/to/getty; rm -rf zig-cache zig-out
Rewrites the
protest
dependency url inbuild.zig.zon
(doesn't change the dependency version). Fixes the following error seen on latest Zig master (0.12.0-dev.2811+3cafb9655
):To reproduce the error:
protest
dependency instead of using a cached version; there might be a better way to do this that doesn't involve nuking the entire cache):rm -rf ~/.cache/zig; cd path/to/getty; rm -rf zig-cache zig-out
zig build