Why have nix-community/nur?

What’s the purpose of the Nix User Repository if anyone can already submit a package to the nixpkgs? I am missing something?

Not everything is accepted in nixpkgs, for various reasons. NUR allows for whatever people consider useful, including variant packaging, packages not meeting nixpkgs requirements, etc.

For example:

I added the repo I made to continue providing the package to NUR.

Though it’s almost as easy, or arguably easier, to just directly use a repo without the layer of indirection from NUR. Regardless, it isn’t a pointless thing to have.

NUR also allows the provider of the code to update it in minutes with no other humans involved, whereas you need to get a committer to get around to merging it to get it in nixpkgs.

4 Likes

Makes sense now, thx!