From a2656aad20c562a38561bf5054bd34bcf9859e7c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 19 Jun 2020 21:13:44 +0200 Subject: [PATCH] haskell-postgresql-libpq-notify: disable test suite to fix the build The tests need a running PostgreSQL database. --- .../haskell-modules/configuration-hackage2nix.yaml | 1 - pkgs/development/haskell-modules/configuration-nix.nix | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index 92029329f46..008bd06e23e 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -8547,7 +8547,6 @@ broken-packages: - postgres-embedded - postgres-tmp - postgres-websockets - - postgresql-libpq-notify - postgresql-lo-stream - postgresql-named - postgresql-query diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index e0758a16325..46ddf4a048a 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -762,4 +762,8 @@ self: super: builtins.intersectAttrs super { # Tests disabled as recommended at https://github.com/luke-clifton/shh/issues/39 shh = dontCheck super.shh; + # The test suites fail because there's no PostgreSQL database running in our + # build sandbox. + postgresql-libpq-notify = dontCheck super.postgresql-libpq-notify; + }