From 234feea88c2edd6eac5199c1223dd10d09badbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 30 Jun 2024 17:43:28 +0200 Subject: Windows support for filesystem storage --- erebos.cabal | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'erebos.cabal') diff --git a/erebos.cabal b/erebos.cabal index 472811f..d8730b9 100644 --- a/erebos.cabal +++ b/erebos.cabal @@ -161,7 +161,11 @@ library uuid >=1.3 && <1.4, zlib >=0.6 && <0.8 - if true + if os(windows) + hs-source-dirs: src/windows + build-depends: + Win32 ^>= { 2.14 }, + else hs-source-dirs: src/unix build-depends: unix ^>= { 2.7, 2.8 }, -- cgit v1.2.3