Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GHC 8.10 was dropped in the last release. This constraint is not needed anymore.
Fixes (with ghc 9.6.2):
==> cabal v2-install --with-compiler=/opt/homebrew/opt/ghc/bin/ghc --flags=-dynamic --jobs=4 --max-backjumps=100000 --install-method=copy --installdir=/opt/homebrew/Cellar/haskell-language-server/2.3.0.0/bin
Error: cabal: Could not resolve dependencies:
[__0] trying: ekg-json-0.1.0.7 (user goal)
[__1] trying: base-4.18.0.0/installed-4.18.0.0 (dependency of ekg-json)
[__2] trying: ghcide-2.3.0.0 (user goal)
[__3] trying: stm-containers-1.2.0.2 (dependency of ghcide)
[__4] next goal: stm-hamt (dependency of stm-containers)
[__4] rejecting: stm-hamt-1.2.0.11, stm-hamt-1.2.0.10 (constraint from project
config
/private/tmp/haskell-language-server-20231005-27723-12xdk3f/haskell-language-server-2.3.0.0/cabal.project
requires <1.2.0.10)
[__4] trying: stm-hamt-1.2.0.9
[__5] trying: primitive-0.8.0.0 (dependency of stm-hamt)
[__6] trying: filepath-1.4.100.1/installed-1.4.100.1 (dependency of ghcide)
[__7] next goal: exceptions (dependency of ghcide)
[__7] rejecting: exceptions-0.10.7/installed-0.10.7 (conflict: stm-hamt =>
transformers>=0.5 && <0.6, exceptions =>
transformers==0.6.1.0/installed-0.6.1.0)
[__7] rejecting: exceptions-0.10.7, exceptions-0.10.5, exceptions-0.10.4,
exceptions-0.10.3, exceptions-0.10.2, exceptions-0.10.1, exceptions-0.10.0,
exceptions-0.8.3, exceptions-0.8.2.1, exceptions-0.8.1, exceptions-0.8.0.2,
exceptions-0.8.0.1, exceptions-0.8, exceptions-0.7, exceptions-0.6.1,
exceptions-0.6, exceptions-0.5, exceptions-0.4, exceptions-0.3.3.1,
exceptions-0.3.3, exceptions-0.3.2, exceptions-0.3.1, exceptions-0.3,
exceptions-0.2, exceptions-0.1.1, exceptions-0.1.0.1, exceptions-0.1,
exceptions-0.10.6, exceptions-0.9.0 (conflict: filepath =>
exceptions==0.10.7/installed-0.10.7)
[__7] fail (backjumping, conflict set: exceptions, filepath, ghcide, stm-hamt)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: filepath, exceptions, ghcide,
primitive, stm-containers, stm-hamt, base, ekg-json
Try running with --minimize-conflict-set to improve the error message.
See Homebrew/homebrew-core#141617