paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
12.55k stars 1.2k forks source link

Build instructions are unclear #732

Closed cognivore closed 3 days ago

cognivore commented 5 days ago

Issue

pip install installs a version that complaints about it being old; pip upgrade doesn't upgrade the version as suggested. Furthermore, in a little bit, the version installed with pip breaks.

Best case scenario for everyone would be to package aider-chat as a python3Package in NixOS; second best case scenario would be to provide a clear instruction about how to build the program locally and link the resulting artefact into .local/bin.

If there is a will to package it for Nix, I am ready to work on it (it will require packaging grep-ast into python3Packages too). Otherwise, it would be cute to get the community to come up with documentation about local installs.

Version and model info

No response

cognivore commented 5 days ago

https://github.com/gebeer/flake-aider-chat

In the meantime, this ad-hoc solution seems to work for me.

paul-gauthier commented 5 days ago

Thanks for trying aider and filing this issue.

Can you share the output that makes you think pip install is installing an old version? Please include all the announce lines that print when aider starts.

cognivore commented 5 days ago

Will do! Thank you for your work on it, if anything, it's a very instructional project for those who are curious about building configured agents on top of existing models.

In the meantime, a small update to whom it may concern: if you're using more recent nix, LD_LIBRARY_PATH hack is unnecessary.

https://github.com/cognivore/flake-aider-chat is compatible with the main branch of nixpkgs.

paul-gauthier commented 3 days ago

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.