upvote
This what I love about. Absolutely trivial to patch existing packages, add your own, even override the one from nixpkgs.
reply
Isn't this possible on any Linux distro? Fetch the source package, patch it, rebuild, install?
reply
Possible, yes. Easy, no.

For example on most distros an updated package will supersede your rebuilt one and you'd need to build it again manually. On NixOS, it will rebuild your with your patch automatically.

reply
Of course, though maintaining a bunch of these is hell unless it's automated. Nix does exactly that, it automates what should be automated.
reply
Yeah, but you don’t have to do anything when upstream updates, provided your patch still applies. You continue getting updates normally.
reply
In particular, Gentoo makes it really easy to patch packages you install. It's one of the ways in which the source-based nature really gives you a lot of power.
reply