Fix compiling on windows(unix socket issue)
Group unix socket functionality into its own module
This commit is contained in:
committed by
Steve Chavez
parent
426637a47c
commit
18e45659ea
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user