You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To work like it does for regular builds. If they are still allowed for regular builds, I would expect them to work with system mode too.
... or be banned in both scenarios. With current model, to fix system mode you would need to convert every hash of every dependency (direct or transient) anyway.
The text was updated successfully, but these errors were encountered:
Suggested workaround: upgrade to new hash format
Alternate workaround: use zig-0.13.0 to zig fetch legacy packages
Second one would not work with zig build --fetch/--help (which is used for fetching in live/Git-HEAD packages for Gentoo).
First one requires me to patch all packages' build.zig.zon when they have legacy hashes, or ping upstream maintainers to do this (which kinda weakens point of compatibility IMHO).
Zig Version
0.14.0-dev.3460+6d29ef0ba
Steps to Reproduce and Observed Behavior
Hello, after #22994 was merged, system package retrieval no longer works with dependencies which were not updated to the new format.
For example you can checkout zigtools/zls@336f468 and run following commands:
Note that it does not error when you re-fetch this dependency to get hash saved in new format:
Expected Behavior
To work like it does for regular builds. If they are still allowed for regular builds, I would expect them to work with system mode too.
... or be banned in both scenarios. With current model, to fix system mode you would need to convert every hash of every dependency (direct or transient) anyway.
The text was updated successfully, but these errors were encountered: