13

Flakes is reaching 10 years of age and is not any closer to being "stable". Nix maintainers can't seem to just drop the cojones on the table and say "it's stable now and it will be versioned, so some old flakes may break if they don't update". What could the community do to implement an external, versioned, flakes solution? Which features would be necessary to have parity with flakes and/or even improve them?

you are viewing a single comment's thread
view the rest of the comments
[-] balsoft@lemmy.ml 4 points 1 day ago* (last edited 1 day ago)

I've been talking to people, trying to stabilize it. I think the last missing pieces before the Nix team can call flakes "stable" is to fix a bunch of fetcher bugs and maybe come up with a better flake lock format that's still backwards compatible. Of course it has already been LLM-vomited to life, but it needs some major changes in order to actually be acceptable, and then someone needs to review it and test it etc. If we stabilize flakes, suddenly all the bugs that are there may become part of the API, so a lot of care needs to go into it.

The 3.0 CLI is a different story and will probably be a bit more difficult.

You might find this talk interesting: https://talks.nixcon.org/nixcon-2026/talk/WEADU3/ (youtube: https://youtu.be/hzd4z-7sc3M)

[-] onlinepersona@programming.dev 2 points 1 day ago

I don't understand why the experimental thing needs to be backwards compatible. Ok, many people are using it, but can't you call that v0.1 (anything without s version number = 0.1), add a bunch of deprecation warnings, add a code-path for old code, and fix bugs while versioning until you reach your desired stable and make that breaking change to v1 aka stable?

this post was submitted on 27 Nov 2026
13 points (100.0% liked)

Nix / NixOS

2951 readers
36 users here now

Main links

Videos

founded 3 years ago
MODERATORS