upvote
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"

reply
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.

reply
Expectation is: if upstream program version packaged is good, package is good. Majority of derivations just pull from upstream since there's no need to take extra steps to make everything work happy together, i.e. pkg1 can depend on libA_v1 and pkg2 can depend on libA_v2 or libA_v1-but-with-some-patches, without conflict or extra work, due to Nix's design, whereas on regular distros it isn't as simple. Also Nix manages python/ruby/etc packages that on other distros will've been installed by pip/gem/etc.
reply
Yea, i was just discussing this - i'm concerned that Nix's model of git based channels leads in the current day of constant exploits leads to constantly updating the channel (or in my case, my flake lock), and as a result possibly letting in sketchy updates.

I'd feel better about updating my lockfile so frequently if there was some sort of global-min-publish-age like Rust's Cargo has.

Not really sure what the ideal solution is. I just know i'm getting more concerned with each update heh. Especially since so many of us use unstable for some/all packages.

reply
I was more concerned about this before LLMs. Nowadays, I suspect people are using LLMs to monitor nixpkgs commits for malicious changes. (Or rather, I hope people are. It seems like an obvious strategy, but perhaps it's too expensive for any single individual to undertake.)
reply
I expect there are orgs that are paying to at least monitor the stuff in their closures, which with enough such participants should give decent coverage of a common baseline, even if it's patchier at the fringes.
reply
I am listed as a maintainer of a couple packages. Getting packages into nixpkgs isn’t too hard, and updates are often automated. I have very rarely needed to do anything beyond glance over the auto update PRs.
reply
I mean, NixOS is big on determinism, so when you declare what a package is, you typically have to redefine a deterministic identifier of the dependency, e.g. a sha256. To contrast, I do not think when you update libssl on Ubuntu, it's advertised as updating all the networking-enabled packages on your system. But for NixOS it literally is.

My NixOS concern for homelabs is whether such package rebuilds will destroy the write cycles on my storage. Especially in this market I think I would rather let hyperscalars deal with that kind of problem.

reply
NixOS has binary package caches. It is usually just downloading and installing like any other distro. My NixOS systems don't rebuild anything.
reply
Mine sometines did and it can be a pain especially if running low on resources.
reply
The raspberry Pi I tried it on needed to build a kernel before I got started

I am not that patient. It runs something else now.

reply