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

recommend building projects forward-compatible with flakes #136

Open
tomberek opened this issue Apr 22, 2021 · 7 comments
Open

recommend building projects forward-compatible with flakes #136

tomberek opened this issue Apr 22, 2021 · 7 comments

Comments

@tomberek
Copy link
Contributor

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 wrapper flake.nix provides a backward-compatible upgrade path when they desire.

@domenkozar
Copy link
Member

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.

@siraben
Copy link
Member

siraben commented Nov 10, 2021

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.

@domenkozar
Copy link
Member

Yeah!

@100phlecs
Copy link

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) :)

@domenkozar
Copy link
Member

I'm wrapping up a big chunk of work, after things settle down I plan to get on flakes!

@paulovieira
Copy link

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!

@fricklerhandwerk fricklerhandwerk changed the title new-users: flakes recommend building projects forward-compatible with flakes Sep 9, 2022
@nixos-discourse
Copy link

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

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

6 participants