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?

  • balsoft@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 hours 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)