diff --git a/gbs-downloader.cabal b/gbs-downloader.cabal index 23a9f795ba7c9a6d5319dfa887656e2c95155db8..558340f6028dbd9519f9afddb04fae604c2ef7a8 100644 --- a/gbs-downloader.cabal +++ b/gbs-downloader.cabal @@ -95,6 +95,7 @@ library -- Other library packages from which modules are imported. build-depends: , aeson + , async , base , base32 , base64-bytestring @@ -206,6 +207,7 @@ test-suite gbs-downloader-test -- Base language which the package is written in. default-language: Haskell2010 + ghc-options: -threaded -- Modules included in this executable, other than Main. other-modules: Generators diff --git a/src/Tahoe/Download.hs b/src/Tahoe/Download.hs index 795ebd4c5ad37b72e72e60ea76cb57893e1edf02..924905e70c5fc8214c00a2ed28c651212c7f80a5 100644 --- a/src/Tahoe/Download.hs +++ b/src/Tahoe/Download.hs @@ -17,6 +17,7 @@ module Tahoe.Download ( getShareNumbers, ) where +import Control.Concurrent.Async (mapConcurrently) import Control.Exception (Exception (displayException), SomeException, try) import Control.Monad.IO.Class (MonadIO (liftIO)) import Data.Bifunctor (Bifunctor (first, second))