on master help sign in
Allow network 2.2.*
commit4841a7fb0288b13df4d8bc40e7d1b275a1bfcbec authorMichael Snoyman <michael@snoyman.com> dateThu 24 Mar 2011, 15:42 (16 years ago) parentbe4b74d
1 file changed+5−1
warp.cabal+5−1
warp.cabal+5−1
@@ -27,7 +27,11 @@ Library
2727 , sendfile >= 0.7.2 && < 0.8
2828 , http-types >= 0.6 && < 0.7
2929 , case-insensitive >= 0.2 && < 0.3
30− , network >= 2.3 && < 2.4
30+ if flag(network-bytestring)
31+ build-depends: network >= 2.2.1 && < 2.2.3
32+ , network-bytestring >= 0.1.3 && < 0.1.4
33+ else
34+ build-depends: network >= 2.3 && < 2.4
3135 Exposed-modules: Network.Wai.Handler.Warp
3236 Other-modules: Timeout
3337 ghc-options: -Wall