Hi Joshua, On Mon, 10 Mar 2025 05:10:18 +0800, Joshua Clark via wrote: > > Hello, I'm trying to package ZLS v0.14.0 > https://github.com/zigtools/zls/releases/tag/0.14.0, but I've run into an > issue with its dependencies. Zig v0.14.0 changed the build.zig.zon file > format, making it incompatible with previous versions of Zig. The result of > this, packages that work with Zig v0.14.0 won't work with previous versions, > and vice versa. > > For example, our packaged version of zig-known-folders > https://hpc.guix.info/package/zig-known-folders, is for Zig v0.12.0, if I > update it to be compatible with Zig v0.14.0, it will break all previous > versions of ZLS. > > How should I deal with this? > > > 0.12.0: > https://github.com/ziglibs/known-folders/blob/1cceeb70e77dec941a4178160ff6c8d05a74de6f/build.zig.zon > 0.14.0: https://github.com/ziglibs/known-folders/blob/master/build.zig.zon
You can add a new variable ‘zig-known-folders-for-zig-0.14’. Thanks