Merge pull request #311293 from diogotcorreia/pgvecto.rs-broken-pg12-pg13

pgvecto-rs: mark as broken in pg12 and pg13
This commit is contained in:
Weijia Wang 2024-05-13 23:02:50 +02:00 committed by GitHub
commit 1fbd31f24d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -66,7 +66,7 @@ let
'';
};
applicablePostgresqlVersions = filterAttrs (_: value: versionAtLeast value.version "12") postgresql-versions;
applicablePostgresqlVersions = filterAttrs (_: value: versionAtLeast value.version "14") postgresql-versions;
in
mapAttrs'
(name: package: {

View File

@ -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;