-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package request: pgvecto.rs #274509
Comments
While it doesn't build from source, I've come across this derivation of |
@anoadragon453 thanks for that link! That should get me going for now until a native package can be added to nixpkgs. |
Did anyone get this working? I'm quite new to Nix and haven't got a clue where to start with installing a custom |
Hi @alexmoras. Yes, I've got it working in my config, and presumably @diogotcorreia has as well (whose dotfiles repo I linked to). Typically to include a custom nix package in your config, you merge it into the upstream nixpkgs that your config is already pulling from by using overlays. I do this in my config - my pkgs/default.nix file is just a big function with @diogotcorreia does things a bit differently. They have a package definition which is a function with arguments This then has So in short, you have a package derivation (either the output of I appreciate this is not simple :) Ideally someone can PR this to nixpkgs to make this easier for everyone (though we should really get building it from source working first). I learned myself by piecing together bits of other user's configs. If you want more fine-grained help, check out the NixOS matrix chatroom. |
If no one else picks this up in the next few days I might give it a shot if I have time, but as I said in my comment #244803 (comment) this would need Thanks @anoadragon453 for the amazing explanation above! |
@diogotcorreia cargo-pgrx is already packaged. One problem that I ran into is that cargo-pgrx is built with rust-stable while pgvecto.rs seems to need to be built with rust-nightly. @alexmoras you can see how I got pgvecto.rs working in my flake. |
Hey! I've just managed to package With that said, I'll be submitting a draft PR shortly, so that I can start getting reviews. Thank you @jcollie for telling me about |
@diogotcorreia Do you have a link to your repo? I had tried with |
@EricTheMagician That's not good news 😭 This issue seems to indicate that this will be temporary and they plan to upgrade to a newer version when it's more stable: immich-app/immich#5911 |
Hey! I have left some comments about stuff I'm not certain about, so if you have the knowledge to do so, I'd appreciate if you could go there and leave a review! #281192 Thank you! |
Project description
Scalable Vector database plugin for Postgres, written in Rust, specifically designed for LLM
Immich 1.91 requires this extension for it's PostreSQL database.
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: