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?

    • onlinepersona@programming.devOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      20 hours ago

      That unfortunately requires installing lix, which is not a drop in replacement for nix. I tried it once and it nearly broke my system (replaced nix, rebooted, couldn’t build nixos config anymore, had to find a way to fallback which took me a while).

      Unfortunately, lix has little to no information on what is compatible and what isn’t. And they don’t have information on what they are supposedly doing better for users ( Changing a build system is not a user feature) It makes it very difficult to evaluate whether they are actually useful or not.

      If they could compile that information to make a transition more predictable and smoother, I’d consider switching.

        • onlinepersona@programming.devOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 hours ago

          That’s blabla. There’s no comparison if features, no “this works in nix, this doesn’t work yet in lix”, no “this was changed in lix, so you need to do x” aka migration plan, no project planning, nothing.

          What do I care if they use meson, lepton, or leprosy? They could be using AIDS, for all I care. It’s a useless detail that doesn’t tell me anything about functionality. It’s like saying “our horses eat wheat instead of hay”. So what? I just want to use the horse, not get its life story.

          • paperd@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 hours ago

            Not sure what you have against lix or what sort of setup you have, but I just installed it as per their instructions, and its been fine. Its works with nixpkgs and is largely compatible with the wider ecosystem.

            Anyway, I can tell by your salty reply that you’re not interested. Good luck. I hope the next nix fetcher bug doesn’t get you.

        • onlinepersona@programming.devOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 hours ago

          Wow, your comment was from 2.5years ago, hoping for flakes to be stabilized by the council. That’s a sad reflection of the council.

          I have little hope that it’ll be better now. Afaik, Eelco was kicked and the council still hasn’t managed to stabilise it 🙃

          Any day now. After they’re done arguing about how a message somebody wrote one forums was incorrectly formatted, they’ll finally cross their i’s and dot their t’s.

    • onlinepersona@programming.devOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      20 hours ago

      If there were 10 different flakes solutions, I’d see your point, but there is only 1 at the moment, so I don’t see how this applies.

  • balsoft@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    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.devOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      20 hours 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?