Fix compiling on windows(unix socket issue)

Group unix socket functionality into its own module
This commit is contained in:
steve-chavez
2020-04-03 11:22:11 -05:00
committed by Steve Chavez
parent 426637a47c
commit 18e45659ea
4 changed files with 67 additions and 41 deletions
+2
View File
@@ -107,6 +107,7 @@ executable postgrest
, retry >= 0.7.4 && < 0.9
, text >= 1.2.2 && < 1.3
, time >= 1.6 && < 1.10
, wai >= 3.2.1 && < 3.3
, warp >= 3.2.12 && < 3.4
default-language: Haskell2010
default-extensions: OverloadedStrings
@@ -116,6 +117,7 @@ executable postgrest
if !os(windows)
build-depends: unix
other-modules: UnixSocket
test-suite spec
type: exitcode-stdio-1.0