Thread with 4 posts
jump to expanded postI added a first way to process zig.build.zon files (for zig packages with dependencies) for pkgsrc, it works for zls (regardless of chroot'ed installs of zig being broken right now in pkgsrc).
To be solved: website independent, no name field other than "$foo = .{ .... }," where "$foo" is the name, so no easy way to extract a name for a distfile to save in distfiles - doubtful if it works in a chroot.
#pkgsrc #zig #netbsd
so right now there's naive processing of everything after "url =": https://github.com/zigtools/zls/blob/master/build.zig.zon#L8
Of course with the network access being off by default now in pkgsrc it's clear that this still needs the small .zon parser I'll write in zig to properly get information about dependencies and download them ahead of time.
@nikita So the same as for Go and Cargo then?