From 1dab90521a4542d277f6f4cdf84be7a681715ba9 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Fri, 26 Jul 2024 02:01:21 -0700 Subject: [PATCH] ci: try fixing windows postgres module --- sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs b/sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs index c034bb00..1fb690ae 100644 --- a/sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs +++ b/sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs @@ -1,6 +1,11 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE TypeOperators #-} +#ifdef mingw32_HOST_OS +module Test.Sandwich.Contexts.PostgreSQL () +#else + module Test.Sandwich.Contexts.PostgreSQL ( -- * Raw PostgreSQL via Nix (TCP socket) introducePostgresViaNix @@ -336,3 +341,5 @@ waitForPostgresDatabase (PostgresContainerOptions {..}) (containerName, p) = do -- waitForSimpleQuery pc return pc + +#endif