packages feed

stackage 0.2.1.2 → 0.2.1.3

raw patch · 2 files changed

+7/−3 lines, 2 files

Files

stackage.cabal view
@@ -1,5 +1,5 @@ name:                stackage-version:             0.2.1.2+version:             0.2.1.3 synopsis:            "Stable Hackage," tools for creating a vetted set of packages from Hackage. description:         Please see <http://www.stackage.org/package/stackage> for a description and documentation. homepage:            https://github.com/fpco/stackage@@ -87,6 +87,8 @@                      , Cabal                      , yaml                      , containers+                     , http-client+                     , http-client-tls  source-repository head   type:     git
test/Stackage/BuildPlanSpec.hs view
@@ -9,10 +9,12 @@ import qualified Data.Yaml as Y import Distribution.Version (anyVersion) import qualified Data.Map as Map+import Network.HTTP.Client (withManager)+import Network.HTTP.Client.TLS (tlsManagerSettings)  spec :: Spec-spec = it "works" $ do-    bc <- defaultBuildConstraints (error "manager should not be used")+spec = it "works" $ withManager tlsManagerSettings $ \man -> do+    bc <- defaultBuildConstraints man     bp <- newBuildPlan bc     let bs = Y.encode bp         ebp' = Y.decodeEither bs