Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit c8bfce6

Browse files
committed
support building with GHC 8.2.1
1 parent 680bf21 commit c8bfce6

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

distributed-process-async.cabal

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ library
3131
build-depends:
3232
base >= 4.4 && < 5,
3333
data-accessor >= 0.2.2.3,
34-
distributed-process >= 0.6.1 && < 0.7,
35-
distributed-process-extras >= 0.3.0 && < 0.4,
34+
distributed-process >= 0.6.1 && < 0.8,
3635
exceptions >= 0.8.2.1 && < 0.9,
3736
binary >= 0.6.3.0 && < 0.9,
3837
deepseq >= 1.3.0.1 && < 1.5,
@@ -59,14 +58,11 @@ test-suite AsyncTests
5958
build-depends:
6059
base >= 4.4 && < 5,
6160
ansi-terminal >= 0.5 && < 0.7,
62-
distributed-process >= 0.6.1 && < 0.7,
63-
distributed-process-extras >= 0.3.0 && < 0.4,
6461
distributed-process-async,
65-
distributed-process-systest >= 0.1.0 && < 0.2.0,
6662
exceptions >= 0.8.2.1 && < 0.9,
6763
network >= 2.5 && < 2.7,
68-
network-transport >= 0.4 && < 0.5,
69-
network-transport-tcp >= 0.4 && < 0.6,
64+
network-transport >= 0.4 && < 0.6,
65+
network-transport-tcp >= 0.4 && < 0.7,
7066
binary >= 0.6.3.0 && < 0.9,
7167
deepseq >= 1.3.0.1 && < 1.5,
7268
HUnit >= 1.2 && < 2,

tests/TestAsync.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ asyncStmTests transport = do
228228
-- | Given a @builder@ function, make and run a test suite on a single transport
229229
testMain :: (NT.Transport -> IO [Test]) -> IO ()
230230
testMain builder = do
231-
Right (transport, _) <- createTransportExposeInternals
232-
"127.0.0.1" "0" defaultTCPParameters
231+
Right (transport, _) <- createTransportExposeInternals"127.0.0.1" "0" (\sn -> ("127.0.0.1", sn)) defaultTCPParameters
233232
testData <- builder transport
234233
defaultMain testData
235234

0 commit comments

Comments
 (0)