Aider is a pretty slick AI coding assistant. This is the second time I’ve spent hours trying to get something packaged properly. I’d like to get aider in nixpkgs. Attempted have been made with dream2nix but that doesn’t seem to suffice for nixpkgs.
It’s going to take three PRs to nixpkgs in order to get the dependencies in the first two, then the main package. I posted the first two last night. When they are done I’ll send in the PR for aider itself. You can see lox and grep-ast pull requests here: Pull requests · NixOS/nixpkgs · GitHub
I’m curious why, btw: clearly packaging “everything under the sun” into nixpkgs won’t scale long-term, so we need ‘something’ to be able to distribute the packaging effort more, at least for ‘leaf’ packages. I don’t doubt that flakes fall short of that for you; I’d like to understand what makes that the case.
This seems like more of a philosophical question related to “should be have nixpkgs hold everything vs. a distributed model”. That seems like a very different discussion…
Oh, I didn’t intend to re-hash that discussion here - it’s just that you mentioned a flake wouldn’t work for you, and I was curious why, as it might inform what we’d need instead (or how we could improve flakes) if/when we’d want to distribute nixpkgs more.
Ah gotcha. I’m fine with flakes personally. However, since this is such a popular package on Github (15k stars), I would like to sponsor it becoming something that can be installed by everyone with low friction.
while i am absolutely not disagreeing with you… my impression is that the community has strong support for the monorepo model and reasonable support for the “everything under the sun” model… so much so that “not as a flake” isn’t surprising to hear at all
wonderful question! though at the same time we have a current thread about how we can include home manage into the main repo which could almost be interpreted as a contradictory goal… i wonder who is having conversations about the future of nixpkgs repo and the role something like flakes may or may not have right now these are very interesting topics to me
you’re wonderful thanks for your contributions to the ecosystem! i wasn’t aware of that particular tool but it looks fun to play with
I’m working through the two missing dependencies in the PR. They’re just about ready, and I should be able to get aider through without needing many changes. PRs going into nixpkgs just take a while, with all the volume of people trying to get things in.
I could recruit some testers from the thread with the overlay. Hopefully that will help on the PR approvals.
Then I think the project is complete. I don’t expect a successful merge in nixpkgs master to be a required deliverable here.