haskellPackages.postgres-websockets: unbreak

This commit is contained in:
Wolfgang Walther
2025-04-03 15:59:29 +02:00
parent 3bdd07d0ee
commit eeec06e84f
3 changed files with 11 additions and 3 deletions
@@ -2479,6 +2479,17 @@ self: super: {
# unbreak with tasty-quickcheck 0.11, can be dropped for Stackage LTS >= 23.9
text-builder = doDistribute self.text-builder_0_6_7_3;
postgres-websockets = lib.pipe super.postgres-websockets [
(addTestToolDepends [ pkgs.postgresql pkgs.postgresqlTestHook ])
(dontCheckIf pkgs.postgresqlTestHook.meta.broken)
(overrideCabal {
preCheck = ''
export postgresqlEnableTCP=1
export PGDATABASE=postgres_ws_test
'';
})
];
postgrest = lib.pipe
(super.postgrest.overrideScope (self: super: {
# 2025-01-19: Upstream is stuck at hasql < 1.7
@@ -4496,7 +4496,6 @@ broken-packages:
- postgresql-typed-lifted # failure in job https://hydra.nixos.org/build/233215141 at 2023-09-02
- postgres-tmp # failure in job https://hydra.nixos.org/build/233258685 at 2023-09-02
- postgrest-ws # failure in job https://hydra.nixos.org/build/233247807 at 2023-09-02
- postgres-websockets # failure in job https://hydra.nixos.org/build/233199923 at 2023-09-02
- postie # failure in job https://hydra.nixos.org/build/233259075 at 2023-09-02
- postmark-streams # failure in job https://hydra.nixos.org/build/233233210 at 2023-09-02
- postmaster # failure in job https://hydra.nixos.org/build/233258599 at 2023-09-02
-2
View File
@@ -248091,9 +248091,7 @@ self: {
];
description = "Middleware to map LISTEN/NOTIFY messages to Websockets";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
mainProgram = "postgres-websockets";
broken = true;
}) {};
"postgresql-binary_0_13_1_3" = callPackage