| > Any widely used distros do this. I've yet to encounter another distro that deliberately breaks 3rd party software the way Nix did it to rebar3 (before it was reverted). > Plus, the statement that you have to patch all packages is false. IIRC `patchShebangs' script runs for any package using stdenv. > I'd also like to add that nixpkgs has the most extensive testing for packages compared to any other distros I've seen. Which distros? Can you share a comparison in number of tests/coverage? > Dramatic, but again, simply not the case. As other commenters mentioned, software written for GNU\Linux often assumes FHS. NixOS breaks FHS, and has to patch soft to work around that. > This is a good thing. How so? > This is a good thing. Manual patching for the most common problems isn't sustainable, especially if you maintain a large number of packages. Just ask packages maintainers of any major distros. Other major distros don't break FHS, therefore they don't need to patch trivial things like shebangs. > All packages in nixpkgs has a mandatory review process as you should very well know. As scary as you make it sound, I'm pretty sure at least one committer have taken a look at your code to see if there was anything malicious in it. It depends on your threat model. Mine is stricter. > If this is the case, it wouldn't be a security problem at all because the dependencies would have to be prefetched and their hashes precomputed. Once again, it breaks the cryptographic chain of custody set by the upstream. In my threat model that's not acceptable. I tend to trust the upstream more than the distro. > Why not store secrets in a private location, just like you would on any other distros??? Secret provisioning is by far the most difficult DevOps problem, and it can go catastrophically wrong for all too many reasons. Nix not only doesn't help, but also introduces additional footguns with world-readable configuration files. > What is it that other distros have that Nix is missing? Other distros have FHS. FHS accounts for secret management, among other things. > Yes, it saves me from having to do a clean install of my system every few months. Ok, though I never had to do a clean install of GNU\Linux either on my dev machine. |