Library updates

This commit is contained in:
Michael Snoyman 2014-05-11 15:56:18 +03:00
parent 2faf95e680
commit 68f7abff47
3 changed files with 5 additions and 6 deletions

View File

@ -155,7 +155,6 @@ makeFoundation conf = do
instance MonadActive m => MonadActive (SqlPersistT m) where -- FIXME orphan upstream
monadActive = lift monadActive
deriving instance MonadCatch m => MonadCatch (SqlPersistT m)
instance MonadReader env m => MonadReader env (SqlPersistT m) where
ask = lift ask

View File

@ -23,7 +23,7 @@ import Text.XML.Cursor (($//), (&/), content, fromDocument, element, followingSi
import Text.HTML.DOM (sinkDoc)
import System.IO.Temp (withSystemTempFile, withSystemTempDirectory)
import System.IO (IOMode (ReadMode), openBinaryFile)
import Control.Monad.Catch (MonadCatch)
import Control.Monad.Catch (MonadMask)
import Model (Uploaded (Uploaded))
import Filesystem (createTree)
import Distribution.PackageDescription.Parse (parsePackageDescription, ParseResult (ParseOk))
@ -51,7 +51,7 @@ loadCabalFiles :: ( MonadActive m
, HasBlobStore env StoreKey
, HasHackageRoot env
, MonadLogger m
, MonadCatch m
, MonadMask m
)
=> UploadHistory -- ^ initial
-> m UploadState
@ -236,7 +236,7 @@ sourceHackageViewSdist viewName name version = do
| otherwise = e
createView :: ( MonadResource m
, MonadCatch m
, MonadMask m
, MonadReader env m
, HasBlobStore env StoreKey
, MonadBaseControl IO m

View File

@ -74,7 +74,7 @@ library
, yesod-form >= 1.3 && < 1.4
, bytestring >= 0.9 && < 0.11
, text >= 0.11 && < 2.0
, persistent >= 1.3 && < 1.4
, persistent >= 1.3.1 && < 1.4
, persistent-postgresql >= 1.3 && < 1.4
, persistent-template >= 1.3 && < 1.4
, template-haskell
@ -104,7 +104,7 @@ library
, aws >= 0.9 && < 0.10
, conduit-extra
, tar >= 0.4 && < 0.5
, temporary >= 1.2 && < 1.3
, temporary-rc >= 1.2 && < 1.3
, cryptohash-conduit >= 0.1.1 && < 0.2
, exceptions
, byteable