haskellPackages.postgresql-types: unbreak, run unit tests

postgresql-types ships a second `integration-tests` suite that requires
testcontainers-postgresql and Docker; select just `unit-tests` via
testTargets so Hydra can still run the hspec suite.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Marc Scholten
2026-04-20 13:42:19 +01:00
co-authored by Claude Opus 4.7
parent 3ea91fc736
commit 5cddaf9e1d
3 changed files with 3 additions and 3 deletions
@@ -4988,7 +4988,6 @@ broken-packages:
- postgresql-tx-monad-logger # failure in job https://hydra.nixos.org/build/233227034 at 2023-09-02
- postgresql-tx-simple # failure in job https://hydra.nixos.org/build/233242850 at 2023-09-02
- postgresql-typed-lifted # failure in job https://hydra.nixos.org/build/233215141 at 2023-09-02
- postgresql-types # failure in job https://hydra.nixos.org/build/326308328 at 2026-04-12
- postgrest-ws # failure in job https://hydra.nixos.org/build/233247807 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
@@ -1477,6 +1477,9 @@ builtins.intersectAttrs super {
(dontCheckIf (!pkgs.postgresql.doInstallCheck || !self.testcontainers.doCheck))
];
# integration-tests suite needs docker/testcontainers; run only unit-tests.
postgresql-types = overrideCabal { testTargets = [ "unit-tests" ]; } super.postgresql-types;
users-postgresql-simple = lib.pipe super.users-postgresql-simple [
(addTestToolDepends [
pkgs.postgresql
-2
View File
@@ -551480,8 +551480,6 @@ self: {
doHaddock = false;
description = "Precise PostgreSQL types representation and driver-agnostic codecs";
license = lib.meta.getLicenseFromSpdxId "MIT";
hydraPlatforms = lib.platforms.none;
broken = true;
}
) { };