Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Wow, it looks really cool!

    I will definitely try it! If there is one think that breaks me is always chasing that one shared library for example when developing something using SDl3 and its GPU API.

  • When I first met NixOS, it struck me as a super cool idea that would be incredibly useful just as soon as every other piece of software/programmer in the world converted to using it.

    I haven't seen anything to change my mind since.

  • I don't really get the idea of needing converts when nixpkgs is basically the largest and most up to date.. Using another Linux as a system engineer you would certainly know how to build outside the package system because you would have to.
  • I don't think this is true. I've been using NixOS for years and it's awesome. Total game changer for managing my PC and development environments. More adoption will help of course, but I certainly haven't needed it to get tons of value from Nix.
  • To elaborate in a way that will make absolutely everyone unhappy, framework vs library is a decent analogy here and nixos is very definitely a framework.

    Compare that to systemd, which despite having more tentacles than your average jellyfish, is actually a library, relative to "linux" as a whole. It's one reason it has more adoption.

  • I think its mere existence and influence is already good enough. A fair number of modern open source projects either come with Nix flakes or are designed to work well in an immutable environment whether it is NixOS, SteamOS, or inside of a Flatpak or Docker container. The Nix contribution is trying to convince things to 1. stop hard-depending on FHS, 2. allow things to build and be used in a hermetic way, i.e. pushing projects to stop fetching things from the internet during the build phase or at least provide an escape hatch to avoid this.

    If it hasn't been working, they could've fooled me. Nixpkgs definitely appears to be the largest and most up-to-date single Linux package repository out there.

    by jchw
  • I'm not entirely sure if it's a good idea per se, but hell, what's the point in making everything properly lazy if you couldn't. I mean me personally, I routinely use 20-30 flake inputs for large system configurations and I've never really minded this at all. The only real concern I have is that overriding Nixpkgs to avoid duplicates can occasionally break since the dependency may not be ready for the latest Nixpkgs, but this so far has only ever hit me with nix-vim, which arguably should be in Nixpkgs anyways in some form (although I haven't used it in a while so not sure what the status is.)

    Because you have to, I searched and found that at least one of my flakes are in there, nix-binary-ninja, which is a Nix flake for the proprietary Binary Ninja disassembler/decompiler. Neat. (FYI though, while I use that, I'm not sure I actually recommend it; it does gross things to make binja use system libraries for better integration, which right now breaks some extensions. Oh well...)

    by jchw