@@ -356,12 +356,18 @@ library
356356 , Streamly.Internal.Network.Socket
357357 , Streamly.Internal.Network.Inet.TCP
358358
359− build-depends: base >= 4.8 && < 5
360− , ghc-prim >= 0.2 && < 0.6
359+ build-depends:
360+ -- Core libraries shipped with ghc, the min and max
361+ -- constraints of these libraries should match with
362+ -- the GHC versions we support
363+ base >= 4.8 && < 5
364+ , containers >= 0.5 && < 0.7
361365 , deepseq >= 1.4.1 && < 1.5
362− , containers >= 0.5.8.2 && < 0.7
363− , heaps >= 0.3 && < 0.4
364366 , directory >= 1.3 && < 1.4
367+ , ghc-prim >= 0.2 && < 0.6
368+ , transformers >= 0.4 && < 0.6
369+
370+ , heaps >= 0.3 && < 0.4
365371 , primitive >= 0.6.4.0 && < 0.8
366372
367373 -- concurrency
@@ -372,7 +378,6 @@ library
372378 , exceptions >= 0.8 && < 0.11
373379 , monad-control >= 1.0 && < 2
374380 , mtl >= 2.2 && < 3
375− , transformers >= 0.4 && < 0.6
376381 , transformers-base >= 0.4 && < 0.5
377382
378383 if !impl(ghcjs)
@@ -401,7 +406,7 @@ test-suite test
401406 streamly
402407 , base >= 4.8 && < 5
403408 , hspec >= 2.0 && < 3
404− , containers >= 0.5.8.2 && < 0.7
409+ , containers >= 0.5 && < 0.7
405410 , transformers >= 0.4 && < 0.6
406411 , mtl >= 2.2 && < 3
407412 , exceptions >= 0.8 && < 0.11