cjdev2 / monad-mock

A Haskell package that provides a monad transformer for mocking mtl-style typeclasses
ISC License
71 stars 9 forks source link

Problem installing with stack #9

Open srghma opened 5 years ago

srghma commented 5 years ago
In the dependencies for myproject-0.1.0.0:
    monad-mock needed, but the stack configuration has no specified version  (latest matching version is 0.2.0.0)
needed since myproject is a build target.

Some different approaches to resolving this:

  * Consider trying 'stack solver', which uses the cabal-install solver to attempt to find some working build configuration. This can be
    convenient when dealing with many complicated constraint errors, but results may be unpredictable.

  * Recommended action: try adding the following to your extra-deps in /home/srghma/projects/myproject/stack.yaml:
srghma commented 5 years ago

probably becuase this project doesnt have monad-mock.cabal file generated from package.yaml by stack

srghma commented 5 years ago

it's added to gitignore