plow-technologies / inferno

A statically-typed functional scripting language
MIT License
4 stars 1 forks source link

Fix dependency version conflict #27

Closed siddharth-krishna closed 1 year ago

siddharth-krishna commented 1 year ago

20 updated the version of recursion-schemes in inferno-types.cabal, but this conflicts with the version picked by inferno-core.cabal by my HLS:

2023-01-12 06:22:17.2560000 [client] ERROR Error: haskell-language-server --project-ghc-version exited with exit code 1:
Failed to find the GHC version of this Cabal project.
Error when calling cabal exec -v0 -- ghc --print-libdir

cabal: Could not resolve dependencies:
[__0] trying: inferno-core-0.1.0.3 (user goal)
[__1] trying: recursion-schemes-5.2.2.2 (dependency of inferno-core)
[__2] next goal: inferno-types (user goal)
[__2] rejecting: inferno-types-0.1.0.0 (conflict: recursion-schemes==5.2.2.2,
inferno-types => recursion-schemes>=5.2.2.3 && <5.3)
[__2] fail (backjumping, conflict set: inferno-types, recursion-schemes)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: inferno-types, recursion-schemes,
inferno-core

So this PR updates the versions to be consistent.