Skip to content
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

Dependencies specified in cabal file are conflicting #3

Open
parvmor opened this issue Sep 11, 2017 · 0 comments
Open

Dependencies specified in cabal file are conflicting #3

parvmor opened this issue Sep 11, 2017 · 0 comments

Comments

@parvmor
Copy link

parvmor commented Sep 11, 2017

On installing with the cabal file the following conflicts arise:

Resolving dependencies...
cabal: Could not resolve dependencies:
trying: ot-0.2.1.0 (user goal)
next goal: ghc (dependency of ot-0.2.1.0)
rejecting: ghc-8.0.1/installed-8.0... (conflict: ghc =>
binary==0.8.3.0/installed-0.8..., ot => binary>=0.5.1.1 && <0.8)
Dependency tree exhaustively searched.

Resolving this keeps on giving more dependency conflicts. One solution that worked involved removing of versioning in the packages:

25,32c25,32
<   Build-depends:       base,
<                        text,
<                        aeson,
<                        attoparsec,
<                        QuickCheck,
<                        binary,
<                        either,
<                        mtl,
---
>   Build-depends:       base >= 4 && < 5,
>                        text >= 1.0 && < 1.3,
>                        aeson >= 0.7 && < 0.11,
>                        attoparsec >= 0.10.1.1 && < 1,
>                        QuickCheck >= 2.7 && < 2.9,
>                        binary >= 0.5.1.1 && < 0.9,
>                        either >= 4.1.2 && < 5,
>                        mtl >= 2.1.3.1 && < 3,

Installing with --allow-newer also works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant