11
Nix - An universal package manager
(nixos.org)
A community for everything relating to the linux operating system
Also check out !linux_memes@programming.dev
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
I use dnf and flatpak on Fedora and I’m pretty satisfied. What is the killer feature of Nix that would make it worth learning how to use it?
To add to the other comment, Nix really strives for true and actual reproducibility. Someone please correct me if I'm wrong, but my understanding is that even in builds it uses fake timestamps to ensure if a timestamp is in the resulting binary it doesn't mess up the hash of it. They really do try to go a step beyond others in the realm of reproducibility it seems.
the problem nix trying to solve is reproducible build, which means from a single config file you can migrate to any machine and have the same environment, auto install and dot files. While other package manager install in a imperative way, which means you have to call the install command on every package you need and you have to remember it. That's the basic difference. You can consider trying it if you see it's worth it. It's harder than any other package manager I know, but it solves a different problem.
A less theoretical advantage is that it can create the exact same environment on both Mac and Linux, and in neither case does it need to replace your primary package manager.
If the whole team is using nix, then the "setup" section of the readme just says "use nix-shell"[1] and that is more than enough for everyone.
[1]: I can't remember if nix-shell is the right command, or not, but in theory nix can create an exact environment on every machine with one command.
Wow, that’s really useful. I’ll definitely look into Nix!