packages feed

haskell-packages 0.6 → 0.6.1

raw patch · 2 files changed

+4/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

haskell-packages.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                haskell-packages-version:             0.6+version:             0.6.1 synopsis:            Haskell suite library for package management and integration with Cabal description:         See <http://documentup.com/haskell-suite/haskell-packages> license:             MIT
src/Distribution/HaskellSuite/Packages.hs view
@@ -254,7 +254,9 @@   cts <- LBS.fromChunks . return <$> BS.readFile path     `E.catch` \e ->       throwIO $ PkgDBReadError path e-  maybe (throwIO $ BadPkgDB path) return $ decode cts+  case decodeOrFail cts of+    Left{} -> throwIO $ BadPkgDB path+    Right (_rest, _offset, values) -> pure values    where     maybeDoInitDB