-
Notifications
You must be signed in to change notification settings - Fork 21
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
Document what does and does not work? #90
Comments
Related, documenting the requirements on the Nix side. For example, both the example and the The example just starts with
Likewise, trying to list the dev shells which is the first command to run in the root Readme, results in:
This is on NixOS using Flakes. Nix CLI version |
Updated to NixOS 23.05 and nix cli |
About the example: it contains About features: I don't think nickel-nix is ready for full blown packaging in Nickel, unless you're ready to reimplement all nixpkgs frameworks in it. We pass Nix objects into Nickel world and back, and we're very limited in what we can pass. For example, we cannot pass closures (functions, callbacks) that are wildly used in nixpkgs. There's an effort to document a vision for the project in #82 that could give you some insight into what will be possible in the future. |
That worked! For googlers, i ran
Yea this (with examples) is exactly what is missing from documentation, imo. Though with this i'm still a bit unclear on what NickelNix can do. Shame that Nix can't run from some intermediate static config format (JSON/etc) that Nickel could then just compile to. For context i'd be looking to replace my Nix system configuration with Nickel. I'm very unclear on where the interop occurs, but at the very least i imagine Home Manager would pose issues. I am not currently trying to distribute Nickel as a package for Nix users. Not that it makes much of a distinction when compared to system configuration, probably. What are some use cases for Nickel Nix as it is usable today? I see devShells and i have them working locally, though i'm unsure how big the gulf is between devshell flakes and system flakes (nixosConfiguration/home manager/etc). Thoughts? |
Bump lcokfile and update readme according to recent changes. Addresses some problems mentioned in #90
Bump lcokfile and update readme according to recent changes. Addresses some problems mentioned in #90
I'm trying to understand how much of Nix can currently be replaced Nickel and any blockers that would prevent me from integrating at least some of Nickel into my actual Nix configurations. Notably, this comment:
Is a bit difficult to understand. I suspect there's two important key points:
I imagine documenting this is best done through examples, maybe paired with a readme to guide from one example to the next. Happy to help if i can, but given that i'm currently exploring this as a user with no knowledge of how it works, i'm more on the receiving side. At least until this makes sense to me, if at all heh.
Any thoughts? Better ways to achieve new user documentation, etc?
The text was updated successfully, but these errors were encountered: