Hacker News new | ask | show | jobs
by mikepurvis 2 days ago
I'm not an active maintainer, but nixpkgs definitely has a huge amount of automation going on. Tons of stuff getting slurped in from other package managers, pypi, cargo, etc.

Ryan Mulligan's bot alone is responsible for over 162k PRs in there:

https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+author%3Ar-...

And I believe much of that is actually pre-LLM, just the basic work of "what version have we got, what version has upstream got, okay bump forward and run the test suite, PR"

2 comments

Yeah, but what else do you really need to add a new package? Hydra (the CI server) will build all packages and run all tests, including NixOS integration tests. Everything else is handled via user bug reports.

It’s definitely not a curated set of packages like Debian, so it’s up to you to be reasonable about what you’re installing. Stability of packages has been stellar in my experience.

There is _some_ curation, in the form of what package addition PRs ultimately gets merged and not. But the bar is lower since being packaged in nixpkgs does not entail general endorsement of that package, it simply meant that someone cared enough about it to package, review, merge and maintain it. Package additions are the least likely PRs to get merged https://maintainermode.org/state#kinds
Neither cargo or pypi are examples of mass automatic package import. But typst packages, hackage, gnome extensions, and CTAN for example are. Cargo, npm, zig, and composer dependencies are fetched using upstream lock files when building such packages, all of python3Packages is packaged manually.