diff --git a/stack.yaml b/stack.yaml index d749574929a..67e72f4fb8c 100644 --- a/stack.yaml +++ b/stack.yaml @@ -149,6 +149,8 @@ extra-deps: - network-uri-static-0.1.1.0 - list-t-1.0.1 # 1.0.0.1 doesn't build - unliftio-0.2.10 # for pooled concurrency utils in UnliftIO.Async +- network-2.7.0.2 # to get nicer errors when connections fail +- HaskellNet-SSL-0.3.4.1 # first version to support network-2.7 # the following are just not on Stackage (and most of these were present in # LTS-11 but got evicted in LTS-12) diff --git a/tools/bonanza/src/Bonanza/Metrics.hs b/tools/bonanza/src/Bonanza/Metrics.hs index c33fec5cbf1..8235b62afa4 100644 --- a/tools/bonanza/src/Bonanza/Metrics.hs +++ b/tools/bonanza/src/Bonanza/Metrics.hs @@ -1,6 +1,10 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} +-- Network.BSD got deprecated in network-2.7; this line won't be needed once we +-- move to network-3.0 because then we can use the network-bsd package +{-# OPTIONS_GHC -Wno-deprecations #-} + module Bonanza.Metrics ( Stats (..) , debugCollectd diff --git a/tools/bonanza/src/Bonanza/Streaming/Kibana.hs b/tools/bonanza/src/Bonanza/Streaming/Kibana.hs index 751d43b3c62..c77a5eca044 100644 --- a/tools/bonanza/src/Bonanza/Streaming/Kibana.hs +++ b/tools/bonanza/src/Bonanza/Streaming/Kibana.hs @@ -6,7 +6,10 @@ {-# LANGUAGE StandaloneDeriving #-} -- necessary because of missing 'Eq ZonedTime' instance -{-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -fno-warn-orphans #-} +-- Network.BSD got deprecated in network-2.7; this line won't be needed once we +-- move to network-3.0 because then we can use the network-bsd package +{-# OPTIONS_GHC -Wno-deprecations #-} module Bonanza.Streaming.Kibana ( KibanaEvent