r/voidlinux • u/EditorOne5312 • 23m ago
Ly on official void-packages repository?
I was able to package Ly to my local void-packages templates, but it neeeds zig 0.17.0 as of Ly 1.5.0 and void's zig is still in 0.13.0, so I just wrote a zig binary search function that use provided zig binary from this sequence ZIG_BIN variable -> command -v zig -> opt/zig/zig which really does not work because ./xbps-src is using masterdir and cannot really read the first two search (ZIG_BIN cannot be passed to ./xbps-src properly, and using zig $PATH binary only works when$PATH is configured) so only the opt/ one works.
I was worried about that zig haven't updated since because it was orphaned, when I found other Ly users here just uses zvm and do manual build or completely just moved on from Ly. Setting up zvm then zig is worse because Ly needs to be installed as root user when doing the manual build.
Now I'm thinking that does zig might have dependency conflict when updated, or it is just a decaying package sitting on void packages repository pool? I want to contribute somehow when it is clear for me about updating zig and adding ly and I might just use zig build style if zig is updated.
