Re:NixOS Is Not Reproducible
by viraptor on Saturday October 26, 2024 @08:38AM
(#41954389)
You're describing nixpkgs with an external builder in a VM. That's exactly what it would do. And that tuple is what nixpkgs packages really are (with some macros on top, but you're not forced to use them).
[ Parent
| on HN ]
My impression of configuration in nix is that a lot of configuration that in any other distro would be handled by changing some /etc/file is instead done in a completely separate way by editing some nix file. So that's one user-visible way it differs from what I mentioned of using a patch for the /etc/file.
Some simple example I found just now:
https://unix.stackexchange.com/questions/489509/how-do-i-mod...
There are patches which need to live in the repo by default anyway, so that's already supported, just not as random /etc location. https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/aw...