From 39133337ae4daa89c7b67f1e1116bc2ae0eb1d35 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sat, 20 Jul 2024 03:30:17 -0700 Subject: [PATCH] sandwich-contexts: switch from unix to unix-compat --- sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs | 2 +- sandwich-contexts/package.yaml | 2 +- sandwich-contexts/sandwich-contexts.cabal | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs b/sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs index 1f2f5dcd..c034bb00 100644 --- a/sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs +++ b/sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs @@ -39,7 +39,7 @@ import Relude hiding (withFile) import System.Exit import System.FilePath import System.IO.Temp -import System.Posix.Files +import System.PosixCompat.Files (getFileStatus, isSocket) import Test.Sandwich import Test.Sandwich.Contexts.Container import Test.Sandwich.Contexts.Nix diff --git a/sandwich-contexts/package.yaml b/sandwich-contexts/package.yaml index af76e3a8..e21a90af 100644 --- a/sandwich-contexts/package.yaml +++ b/sandwich-contexts/package.yaml @@ -69,7 +69,7 @@ library: - text - time - transformers - - unix + - unix-compat - unliftio-core - vector diff --git a/sandwich-contexts/sandwich-contexts.cabal b/sandwich-contexts/sandwich-contexts.cabal index 790de09b..cd6a3df2 100644 --- a/sandwich-contexts/sandwich-contexts.cabal +++ b/sandwich-contexts/sandwich-contexts.cabal @@ -77,7 +77,7 @@ library , text , time , transformers - , unix + , unix-compat , unliftio , unliftio-core , vector