-
Notifications
You must be signed in to change notification settings - Fork 31
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
Please expand on usage documentation #54
Comments
You can check my latest pull request, I described in the README on how to add zig as a package |
I'm trying to use this in a flake like this:
This is the error I get when I do
I really can't figure out what I'm doing wrong, I took this rust overlay as a model. |
Can't tell about infinite recursion problem, but shouldn't you use |
Is the infinite recursion due to overlays being overlays = [
(final: prev: {
zigpkgs = inputs.zig.packages.${prev.system};
})
]; ? That's what fixed it when I ran into a similar problem on my end but idk if it's diff |
Use in flakes works with overlays = [
zig-overlay.overlays.default
]; Naming the input zig or zig-overlay does not affect this but it does feel redundant imho. Source #56. |
To import rust-overlay, I have i.e.,
so I was hoping this would fix it lol |
@xsova After doing an import do you call zig package by zigpkgs? From the official README:
|
For me(and I assume others new to Nix), adding the flake as an input is fine, but I don't understand how to actually add and use the Zig package.
The text was updated successfully, but these errors were encountered: