From 49e643b78952fae5c322e52ab62a8d0eee95e042 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 8 Feb 2026 11:24:06 +0100 Subject: [PATCH] haskellPackages.stakhanov: disable test suite In theory this should work with postgresql + pgmq plugin with postgresqlTestHook and postgresqlEnableTCP (hardcodes port), but it fails on selecting from the pgmq schema. Maybe the db needs to be preinitialized somehow? --- pkgs/development/haskell-modules/configuration-nix.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 3cf63a8c2e36..0d0362362f48 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -1353,6 +1353,8 @@ builtins.intersectAttrs super { ]; doCheck = drv.doCheck or true && !(pkgs.postgresqlTestHook.meta.broken); }) super.haskell-pgmq; + # Needs pgmq available at test time with somehow preinitialized database (?) + stakhanov = dontCheck super.stakhanov; migrant-postgresql-simple = lib.pipe super.migrant-postgresql-simple [ (overrideCabal {