Picture of Skinner from “The Simpsons” with the linux logo on his face and the word “Pathetic” in the bottom center of the picture.

  • CodeGameEat@lemmy.world
    link
    fedilink
    English
    arrow-up
    34
    arrow-down
    7
    ·
    9 months ago

    The difference is I can upgrade my NixOS without breaking everything hahaha. But it has gotten a lot more popular recently, which I think is your analogy? Or because people always bring it up now lol

    • Vuraniute
      link
      fedilink
      arrow-up
      23
      ·
      9 months ago

      yea i think its the popularity spike. if only there were more docs on flakes though.

        • expr@programming.dev
          link
          fedilink
          arrow-up
          6
          ·
          9 months ago

          The similarities are superficial at best. The only thing similar is that it uses braces for attribute sets (objects) and square brackets for lists. And I guess quotes for strings.

          But otherwise it’s a full (functional) programming language, with functions, variable bindings, etc.

          Flakes aren’t perfect, but they are really good for ensuring that you have completely reproducible builds since the version used for every dependency is pinned.

        • Shareni@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          9 months ago
          • control the versions of the repo and packages

          • config the official repo (allow unfree packages for example) that doesn’t work unless you’re on nixos

          • add packages from a git repo

          • update package definitions (think apt update)

        • Vuraniute
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          9 months ago

          iirc theyre meant to improve reproducibility by using pinned versions of stuff like nixpkgs instead of inheriting from your system which could be a problem if for example someone on 23.11 sends a deriv to someone on 24.05