Distro agnostic packages like flatpaks and appimages have become extremely popular over the past few years, yet they seem to get a lot of dirt thrown on them because they are super bloated (since they bring all their dependencies with them).

NixPkgs are also distro agnostic, but they are about as light as regular system packages (.deb/.rpm/.PKG) all the while having an impressive 80 000 packages in their repos.

I don’t get why more people aren’t using them, sure they do need some tweaking but so do flatpaks, my main theory is that there are no graphical installer for them and the CLI installer is lacking (no progress bar, no ETA, strange syntax) I’m also scared that there is a downside to them I dont know about.

  • ⸻ Ban DHMO 🇦🇺 ⸻
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    7
    ·
    4 months ago

    Flatpaks are much better than AppImages because they don’t bring in all of their dependencies, they inherit them from a runtime.

      • clemdemort@lemmy.worldOP
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        Could you elaborate? I was under the impression that NixPkgs stored the hash of their dependencies and when launched create an environment to use them, this way two apps can share the same library when the version is the same.

        • chayleaf@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          4 months ago

          Nix doesn’t do anything special when launched.

          The way it works is very simple - instead of e.g. /usr/lib/libssl.so.3, binaries use /nix/store/openssl-…/lib/libssl.so.3. This is done at build time, not runtime.