Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zon2nix support #275

Open
colemickens opened this issue Sep 8, 2024 · 1 comment
Open

zon2nix support #275

colemickens opened this issue Sep 8, 2024 · 1 comment

Comments

@colemickens
Copy link

Hi,

I know nothing about zig. It seems like there's a new lockfile thing added in recent versions.

it would be fantastic if nix-update supported it like it does Cargo.lock prefetching, etc.

ex: https://git.sr.ht/~leon_plickat/wayprompt/tree/master/item/build.zig.zon

ref: https://github.com/nix-community/zon2nix

extra: https://zig.news/edyu/zig-package-manager-wtf-is-zon-558e

extra: https://github.com/ziglang/zig/blob/master/doc/build.zig.zon.md

@Mic92
Copy link
Owner

Mic92 commented Sep 20, 2024

It would be ok to add this. I currently don't have a use-case for it. Ideally nixpkgs would expose some updater in passthru that could be called to update deps to minimize the code that needs to be added in nix-update (i.e. we ideally don't have to depend on zon2nix and packages can have their own version they want to use)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants