Skip to content

fixing for mtl-2.3+ #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dist/
vcswrapper/dist-newstyle/
*~
vcswrapper.lkshs
vcswrapper.lkshw
haskellVCSWrapper.lkshs
haskellVCSWrapper.lkshw
haskellVCSWrapper.lkshw
5 changes: 3 additions & 2 deletions vcswrapper/src/VCSWrapper/Common/Process.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ import System.Environment (getEnvironment)
import System.Exit
import System.IO (Handle, hFlush, hClose, hGetContents, hPutStr)
import Control.Concurrent
import Control.Monad.Reader (ask, liftIO, when)
import Control.Monad.IO.Class (liftIO)
import Control.Monad.Reader (ask)
import qualified Control.Exception as Exc
import VCSWrapper.Common.Types
import Data.Maybe
import Data.Monoid (mconcat)
import Data.Text (Text)
import qualified Data.Text as T (null, unpack, pack)
import qualified Data.Map.Strict as Map
import Control.Monad (unless)
import Control.Monad (unless, when)
import Control.Exception (IOException, try)

-- | Internal function to execute a VCS command. Throws an exception if the command fails.
Expand Down
20 changes: 10 additions & 10 deletions vcswrapper/vcswrapper.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ library
VCSWrapper.Mercurial
VCSWrapper.Git.Safe
build-depends:
base >=4.0.0.0 && <4.10,
containers >=0.5.5.1 && <0.6,
base >=4.0.0.0 && <5,
containers >=0.5.5.1 && <0.9,
directory >=1.1.0.0 && <1.4,
hxt >=9.1.2 && <9.4,
mtl >=2.0.1.0 && <2.3,
mtl >=2.0.1.0 && <2.4,
parsec >=3.1.1 && <3.2,
process >=1.0.1.5 && <1.5,
process >=1.0.1.5 && <1.7,
filepath >=1.2.0.0 && <1.5,
split >=0.2.2 && <0.3,
text >=0.11.1.5 && <1.3
text >=0.11.1.5 && <2.2
hs-source-dirs: src
other-modules:
VCSWrapper.Svn.Types
Expand All @@ -57,16 +57,16 @@ library
executable vcswrapper
main-is: Main.hs
build-depends:
base >=4.0.0.0 && <4.10,
containers >=0.5.5.1 && <0.6,
base >=4.0.0.0 && <5,
containers >=0.5.5.1 && <0.9,
directory >=1.1.0.0 && <1.4,
hxt >=9.1.2 && <9.4,
mtl >=2.0.1.0 && <2.3,
mtl >=2.0.1.0 && <2.4,
parsec >=3.1.1 && <3.2,
process >=1.0.1.5 && <1.5,
process >=1.0.1.5 && <1.7,
filepath >=1.2.0.0 && <1.5,
split >=0.2.2 && <0.3,
text >=0.11.1.5 && <1.3
text >=0.11.1.5 && <2.2
hs-source-dirs: src
other-modules:
VCSWrapper.Svn.Types
Expand Down