Adjust deps
This commit is contained in:
parent
4a9a1cb63f
commit
cd3977c731
1 changed files with 18 additions and 14 deletions
|
@ -60,15 +60,17 @@ Library
|
|||
, fail
|
||||
, dns
|
||||
, http-types
|
||||
|
||||
if flag(_old-network)
|
||||
-- "Network.BSD" is only available in network < 2.9
|
||||
build-depends: network < 2.9
|
||||
else
|
||||
-- "Network.BSD" has been moved into its own package `network-bsd`
|
||||
build-depends: network >= 3.0
|
||||
, network >= 3.0
|
||||
, network-bsd >= 2.7 && < 2.9
|
||||
|
||||
--if flag(_old-network)
|
||||
---- "Network.BSD" is only available in network < 2.9
|
||||
--build-depends: network < 2.9
|
||||
--else
|
||||
---- "Network.BSD" has been moved into its own package `network-bsd`
|
||||
--build-depends: network >= 3.0
|
||||
--, network-bsd >= 2.7 && < 2.9
|
||||
|
||||
Exposed-modules: Database.MongoDB
|
||||
Database.MongoDB.Admin
|
||||
Database.MongoDB.Connection
|
||||
|
@ -138,14 +140,16 @@ Benchmark bench
|
|||
, http-types
|
||||
, criterion
|
||||
, tls >= 1.3.0
|
||||
|
||||
if flag(_old-network)
|
||||
-- "Network.BSD" is only available in network < 2.9
|
||||
build-depends: network < 2.9
|
||||
else
|
||||
-- "Network.BSD" has been moved into its own package `network-bsd`
|
||||
build-depends: network >= 3.0
|
||||
, network >= 3.0
|
||||
, network-bsd >= 2.7 && < 2.9
|
||||
|
||||
--if flag(_old-network)
|
||||
---- "Network.BSD" is only available in network < 2.9
|
||||
--build-depends: network < 2.9
|
||||
--else
|
||||
---- "Network.BSD" has been moved into its own package `network-bsd`
|
||||
--build-depends: network >= 3.0
|
||||
--, network-bsd >= 2.7 && < 2.9
|
||||
|
||||
default-language: Haskell2010
|
||||
default-extensions: OverloadedStrings
|
||||
|
|
Loading…
Reference in a new issue