diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1e42ad0a4ac7..935e56a9b976 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -749,6 +749,9 @@ self: super: { # Needs pginit to function and pgrep to verify. tmp-postgres = overrideCabal super.tmp-postgres (drv: { + # Flaky tests: https://github.com/jfischoff/tmp-postgres/issues/274 + doCheck = false; + preCheck = '' export HOME="$TMPDIR" '' + (drv.preCheck or "");