about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorDiogo Correia <me@diogotc.com>2024-02-18 16:53:15 +0100
committerDiogo Correia <me@diogotc.com>2024-03-11 01:02:17 +0000
commit6b97ba66a4672642c5b6c1ed195511d10fc0a2ea (patch)
treebc565cd998dd291a8d355b971ca2e918e0fcf5f5 /pkgs/servers
parent3060321978100042f57b1593791e3d5917f589f8 (diff)
downloadnixlib-6b97ba66a4672642c5b6c1ed195511d10fc0a2ea.tar
nixlib-6b97ba66a4672642c5b6c1ed195511d10fc0a2ea.tar.gz
nixlib-6b97ba66a4672642c5b6c1ed195511d10fc0a2ea.tar.bz2
nixlib-6b97ba66a4672642c5b6c1ed195511d10fc0a2ea.tar.lz
nixlib-6b97ba66a4672642c5b6c1ed195511d10fc0a2ea.tar.xz
nixlib-6b97ba66a4672642c5b6c1ed195511d10fc0a2ea.tar.zst
nixlib-6b97ba66a4672642c5b6c1ed195511d10fc0a2ea.zip
nixos/tests/pgvecto-rs: init
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix b/pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix
index d348bcf87b1c..23d4499029ea 100644
--- a/pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix
+++ b/pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix
@@ -5,6 +5,7 @@
 , fetchCrate
 , fetchFromGitHub
 , nix-update-script
+, nixosTests
 , openssl
 , pkg-config
 , postgresql
@@ -98,7 +99,12 @@ in
     RUSTC_BOOTSTRAP = 1;
   };
 
-  passthru.updateScript = nix-update-script { };
+  passthru = {
+    updateScript = nix-update-script { };
+    tests = {
+      pgvecto-rs = nixosTests.pgvecto-rs;
+    };
+  };
 
   meta = with lib; {
     # The pgrx 0.11.2 dependency is broken in aarch64-linux: https://github.com/pgcentralfoundation/pgrx/issues/1429