mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixosTests.postgresql: run tests with JIT as well
This was intended for quite some time already, but ever since enableJIT was changed to be the source of truth of JIT-iness for the PostgreSQL module, this hasn't worked for the tests anymore.
This commit is contained in:
parent
f1e22103a9
commit
9486472352
9 changed files with 14 additions and 4 deletions
|
@ -24,9 +24,9 @@ let
|
|||
'';
|
||||
|
||||
makeTestFor =
|
||||
postgresqlPackage:
|
||||
package:
|
||||
makeTest {
|
||||
name = "pgvecto-rs-${postgresqlPackage.name}";
|
||||
name = "pgvecto-rs-${package.name}";
|
||||
meta = with lib.maintainers; {
|
||||
maintainers = [ diogotcorreia ];
|
||||
};
|
||||
|
@ -35,8 +35,9 @@ let
|
|||
{ ... }:
|
||||
{
|
||||
services.postgresql = {
|
||||
inherit package;
|
||||
enable = true;
|
||||
package = postgresqlPackage;
|
||||
enableJIT = lib.hasInfix "-jit-" package.name;
|
||||
extraPlugins =
|
||||
ps: with ps; [
|
||||
pgvecto-rs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue