about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2024-01-05 13:54:28 +0100
committerRobert Hensing <robert@roberthensing.nl>2024-01-15 11:59:00 +0100
commit12981b81a8e0b22166a2874a3eacfb45eb2630be (patch)
tree3cf513a45800bbeae66fda7b9117df86e44e57f5 /pkgs/development/haskell-modules
parent83387128d7a9fe25d79173dd9c5f59b2e3d48f99 (diff)
downloadnixlib-12981b81a8e0b22166a2874a3eacfb45eb2630be.tar
nixlib-12981b81a8e0b22166a2874a3eacfb45eb2630be.tar.gz
nixlib-12981b81a8e0b22166a2874a3eacfb45eb2630be.tar.bz2
nixlib-12981b81a8e0b22166a2874a3eacfb45eb2630be.tar.lz
nixlib-12981b81a8e0b22166a2874a3eacfb45eb2630be.tar.xz
nixlib-12981b81a8e0b22166a2874a3eacfb45eb2630be.tar.zst
nixlib-12981b81a8e0b22166a2874a3eacfb45eb2630be.zip
haskellPackages.postgresql-simple: Enable check
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 2d02fa5f2765..6aa9187f4b2c 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -504,7 +504,6 @@ self: super: {
   msgpack-rpc = dontCheck super.msgpack-rpc;
   persistent-zookeeper = dontCheck super.persistent-zookeeper;
   pocket-dns = dontCheck super.pocket-dns;
-  postgresql-simple = dontCheck super.postgresql-simple;
   squeal-postgresql = dontCheck super.squeal-postgresql;
   postgrest-ws = dontCheck super.postgrest-ws;
   snowball = dontCheck super.snowball;
@@ -1359,6 +1358,14 @@ self: super: {
   json-autotype = dontCheck super.json-autotype;
 
   # Requires pg_ctl command during tests
+  postgresql-simple =
+    overrideCabal (drv: {
+      testToolDepends = drv.testToolDepends or [] ++ [
+        pkgs.postgresql
+        pkgs.postgresqlTestHook
+      ];
+    })
+    super.postgresql-simple;
   beam-postgres = overrideCabal (drv: {
     # https://github.com/NixOS/nixpkgs/issues/198495
     doCheck = pkgs.postgresql.doCheck;