diff options
author | Diogo Correia <me@diogotc.com> | 2024-05-13 09:14:38 +0100 |
---|---|---|
committer | Diogo Correia <me@diogotc.com> | 2024-05-13 09:25:06 +0100 |
commit | 101e8a0a2b2eecc11c0977e6cace10fd4a5febfd (patch) | |
tree | 1a7762019cc35a0122fa422d6093166597859567 /pkgs/servers | |
parent | af8b9db5c00f1a8e4b83578acc578ff7d823b786 (diff) |
pgvecto-rs: mark as broken in pg12 and pg13
Upstream (accidentally) broke support for postgresql 12 and 13 on v0.2.1 by changing the signature of the `from_datum` function[^1]. This went unnoticed since the release branch `0.2` did not have CI. Furthermore, they are removing support for these versions of postgresql on v0.3.0[^2]. [^1]: https://github.com/tensorchord/pgvecto.rs/commit/97e861d51d5a5a8c314a6657e02d445a1edcaa30 [^2]: https://github.com/tensorchord/pgvecto.rs/issues/343
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix b/pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix index d6a4f24bf5e64..9cbf6ae442e4e 100644 --- a/pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix +++ b/pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix @@ -2,7 +2,6 @@ , buildPgrxExtension , cargo-pgrx_0_11_2 , clang_16 -, fetchCrate , fetchFromGitHub , nix-update-script , nixosTests @@ -93,7 +92,9 @@ in meta = with lib; { # The pgrx 0.11.2 dependency is broken in aarch64-linux: https://github.com/pgcentralfoundation/pgrx/issues/1429 # It is fixed in pgrx 0.11.3, but upstream is still using pgrx 0.11.2 - broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; + # Additionally, upstream (accidentally) broke support for PostgreSQL 12 and 13 on 0.2.1, but + # they are removing it in 0.3.0 either way: https://github.com/tensorchord/pgvecto.rs/issues/343 + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin || (versionOlder postgresql.version "14"); description = "Scalable, Low-latency and Hybrid-enabled Vector Search in Postgres"; homepage = "https://github.com/tensorchord/pgvecto.rs"; license = licenses.asl20; |