THRIFT-4834 CI error at Haskell: Failed to load interface for 'Network' (#1780)
diff --git a/lib/hs/thrift.cabal b/lib/hs/thrift.cabal
index 84a59ac..0849b80 100644
--- a/lib/hs/thrift.cabal
+++ b/lib/hs/thrift.cabal
@@ -42,7 +42,7 @@
Build-Depends:
base >= 4, base < 5, containers, ghc-prim, attoparsec, binary, bytestring >= 0.10, base64-bytestring, hashable, HTTP, text, hspec-core > 2.4.0, unordered-containers >= 0.2.6, vector >= 0.10.12.2, QuickCheck >= 2.8.2, split
if flag(network-uri)
- build-depends: network-uri >= 2.6, network >= 2.6
+ build-depends: network-uri >= 2.6, network >= 2.6 && < 3.0
else
build-depends: network < 2.6
Exposed-Modules: