-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
recommend building projects forward-compatible with flakes #136
Comments
Until Nix 2.4 is released, I'm not supportive of documenting any kind of flakes in tutorials. That's because they are undocumented and too much of a moving target. |
Now that Nix 2.4 is released, is this back on the table? I recall you mentioning on Matrix that parts of tutorials would be re-written to use the new CLI. |
Yeah! |
An opinionated guide that takes full advantage of the bleeding edge features, like flakes & new CLI, sounds awesome and is exactly what I would be looking for as a new user (since these features sound like the future of Nix) :) |
I'm wrapping up a big chunk of work, after things settle down I plan to get on flakes! |
Thank you in advance for the upcoming updated tutorials using the flakes format. I've trying to learn nix in the past months, and now it seems more confusing than ever! Hopefully the new release cadence (2.5, 2.6, etc) will help to have the community agree on the standard way of using nix. Looking forward for the tutorials! |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/usability-study-session-2/21400/1 |
New users sometimes are interested in flakes and have heard of them, but may avoid them due to their experimental status and perceived additional complexity. A friendly way to introduce it is to build a project's
.nix
files in a way that are compatible with being called from flakes. And then a simple wrapperflake.nix
provides a backward-compatible upgrade path when they desire.The text was updated successfully, but these errors were encountered: