What do you dislike about Nix/NixOS?
What do you dislike about Nix/NixOS?
after reading a lot of the source code and spending +3 years getting experienced, I can say there are at least two fundamental flaws:
The good is;
The messy mono-repo was never desgined to be searchable
I’m not sure what you mean by “searchable”?
search.nixos.org/packages exists and it’s generally pretty damn good.
The monorepo design is unmaintainable/unscalable from a package maintainer standpoint. There’s a ton of contributor burnout, there’s no real quality control on packages
There is contributor burnout and perhaps some quality issues here and there but the monorepo isn’t the reason for that. In fact, it’d be a lot worse if we had hundreds of smaller repos instead as wide-reaching changes would become basically impossible with our current manpower.
There have been calls to fragment Nixpkgs for years but they’ve almost always been struck down because none of what was suggested would improve anything about our current maintenance issues.
to outsiders its not obvious how to report package-specific issues
You simply open an issue on GitHub. I don’t know how it could be any more clear.
I just checked and we don’t explicitly document this in CONTRIBUTING.md but I don’t think we should need to. It’s just too obvious IMO.
how to edit/fix/contribute to a single package
github.com/NixOS/nixpkgs/blob/…/CONTRIBUTING.md#h…
flakes hub is fixing this, and I’m really excited for that.
FlakeHub fixes none of the maintenance issues of Nixpkgs.
search.nixos.org/packages exists and it’s generally pretty damn good
It’s actually not. If you search for go you get the go package, but if you search for go 1.21, no go package will even appear on the first page. The package you are looking for is somewhere on page 7 or 8.
Indeed, that looks like a bug. The version field is there but it doesn’t appear to be searched.
Could you open an issue on github.com/NixOS/nixos-search?