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

Getting issue while building the haskell project via 'cabal build' command #972

Open
Shiva942 opened this issue Oct 15, 2022 · 1 comment

Comments

@Shiva942
Copy link

Shiva942 commented Oct 15, 2022

[__1] trying: base-4.16.3.0/installed-4.16.3.0 (dependency of
project_name)
[__2] next goal: aeson (dependency of project_name)
[__2] rejecting: aeson-2.1.0.0 (conflict: project_name => aeson==1.5.6.0)
[__2] skipping: aeson-2.0.3.0, aeson-2.0.2.0, aeson-2.0.1.0, aeson-2.0.0.0
(has the same characteristics that caused the previous version to fail:
excluded by constraint '==1.5.6.0' from 'project_name')
[__2] rejecting: aeson-1.5.6.0 (conflict: base =>
ghc-prim==0.8.0/installed-0.8.0, aeson => ghc-prim>=0.2 && <0.8)
[__2] rejecting: aeson-1.5.5.1 (conflict: project_name => aeson==1.5.6.0)
[__2] skipping: aeson-1.5.5.0, aeson-1.5.4.1, aeson-1.5.4.0, aeson-1.5.3.0,
aeson-1.5.2.0, aeson-1.5.1.0, aeson-1.5.0.0, aeson-1.4.7.1, aeson-1.4.7.0,
aeson-1.4.6.0, aeson-1.4.5.0, aeson-1.4.4.0, aeson-1.4.3.0, aeson-1.4.2.0,
aeson-1.4.1.0, aeson-1.4.0.0, aeson-1.3.1.1, aeson-1.3.1.0, aeson-1.3.0.0,
aeson-1.2.4.0, aeson-1.2.3.0, aeson-1.2.2.0, aeson-1.2.1.0, aeson-1.2.0.0,
aeson-1.1.2.0, aeson-1.1.1.0, aeson-1.1.0.0, aeson-1.0.2.1, aeson-1.0.2.0,
aeson-1.0.1.0, aeson-1.0.0.0, aeson-0.11.3.0, aeson-0.11.2.1, aeson-0.11.2.0,
aeson-0.11.1.4, aeson-0.11.1.3, aeson-0.11.1.2, aeson-0.11.1.1,
aeson-0.11.1.0, aeson-0.11.0.0, aeson-0.9.0.1, aeson-0.9.0.0, aeson-0.8.1.1,
aeson-0.8.1.0, aeson-0.8.0.2, aeson-0.7.0.6, aeson-0.7.0.4, aeson-0.6.2.1,
aeson-0.6.2.0, aeson-0.6.1.0, aeson-0.6.0.2, aeson-0.6.0.1, aeson-0.6.0.0,
aeson-0.5.0.0, aeson-0.4.0.1, aeson-0.4.0.0, aeson-0.3.2.14, aeson-0.3.2.13,
aeson-0.3.2.12, aeson-0.3.2.11, aeson-0.3.2.10, aeson-0.3.2.9, aeson-0.3.2.8,
aeson-0.3.2.7, aeson-0.3.2.6, aeson-0.3.2.5, aeson-0.3.2.4, aeson-0.3.2.3,
aeson-0.3.2.2, aeson-0.3.2.1, aeson-0.3.2.0, aeson-0.3.1.1, aeson-0.3.1.0,
aeson-0.3.0.0, aeson-0.2.0.0, aeson-0.1.0.0, aeson-0.10.0.0, aeson-0.8.0.1,
aeson-0.8.0.0, aeson-0.7.0.5, aeson-0.7.0.3, aeson-0.7.0.2, aeson-0.7.0.1,
aeson-0.7.0.0 (has the same characteristics that caused the previous version
to fail: excluded by constraint '==1.5.6.0' from 'project_name')

@phadej
Copy link
Collaborator

phadej commented Oct 15, 2022

That is the cabal's way to say that aeson-1.5.6.0 is not compatible with GHC-9.2 you are using, which forces ghc-prim-0.8.0.

Either downgrade the GHC or allow aeson 2.0 or 2.1

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

2 participants