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

Can not install dhall-lsp-server #2554

Open
flip111 opened this issue Dec 1, 2023 · 2 comments
Open

Can not install dhall-lsp-server #2554

flip111 opened this issue Dec 1, 2023 · 2 comments

Comments

@flip111
Copy link

flip111 commented Dec 1, 2023

I just installed ubuntu 23.10 with ghcup and i'm getting this

» cabal install dhall-lsp-server
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: dhall-lsp-server-1.1.3 (user goal)
[__1] next goal: lens (dependency of dhall-lsp-server)
[__1] rejecting: lens-5.2.3 (conflict: dhall-lsp-server => lens>=4.16.1 &&
<5.2)
[__1] skipping: lens-5.2.2, lens-5.2.1, lens-5.2 (has the same characteristics
that caused the previous version to fail: excluded by constraint '>=4.16.1 &&
<5.2' from 'dhall-lsp-server')
[__1] trying: lens-5.1.1
[__2] next goal: template-haskell (dependency of lens)
[__2] rejecting: template-haskell-2.19.0.0/installed-2.19.0.0 (conflict: lens
=> template-haskell>=2.11.1.0 && <2.19)
[__2] skipping: template-haskell-2.21.0.0, template-haskell-2.20.0.0,
template-haskell-2.19.0.0 (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=2.11.1.0 && <2.19' from
'lens')
[__2] rejecting: template-haskell-2.18.0.0, template-haskell-2.17.0.0,
template-haskell-2.16.0.0, template-haskell-2.15.0.0,
template-haskell-2.14.0.0, template-haskell-2.13.0.0,
template-haskell-2.12.0.0, template-haskell-2.11.1.0,
template-haskell-2.11.0.0, template-haskell-2.10.0.0,
template-haskell-2.9.0.0, template-haskell-2.8.0.0, template-haskell-2.7.0.0,
template-haskell-2.6.0.0, template-haskell-2.5.0.0, template-haskell-2.4.0.1,
template-haskell-2.4.0.0, template-haskell-2.3.0.1, template-haskell-2.3.0.0,
template-haskell-2.2.0.0 (constraint from non-upgradeable package requires
installed instance)
[__2] fail (backjumping, conflict set: lens, template-haskell)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: lens, template-haskell,
dhall-lsp-server

Perhaps it is possible to install with stack to avoid version conflicts?

@flip111 flip111 changed the title Can not install Can not install dhall-lsp-server Dec 1, 2023
@mmhat
Copy link
Collaborator

mmhat commented Dec 25, 2023

What version of GHC are you using?
The template-haskell-2.19.0.0 in the output indicates that it is the 9.4 branch; Can you confirm that?

Yes, stack should definitely work.

@flip111
Copy link
Author

flip111 commented Jan 15, 2024

» cabal install dhall-lsp-server
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: dhall-lsp-server-1.1.3 (user goal)
[__1] next goal: text (dependency of dhall-lsp-server)
[__1] rejecting: text-2.1/installed-1f8a (conflict: dhall-lsp-server =>
text>=1.2.3.0 && <2.1)
[__1] skipping: text-2.1 (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=1.2.3.0 && <2.1' from
'dhall-lsp-server')
[__1] trying: text-2.0.2
[__2] next goal: base (dependency of dhall-lsp-server)
[__2] rejecting: base-4.19.0.0/installed-f417 (conflict: text => ghc-prim>=0.2
&& <0.11, base => ghc-prim==0.11.0/installed-e595)
[__2] rejecting: base-4.19.0.0, base-4.18.2.0, base-4.18.1.0, base-4.18.0.0,
base-4.17.2.1, base-4.17.2.0, base-4.17.1.0, base-4.17.0.0, base-4.16.4.0,
base-4.16.3.0, base-4.16.2.0, base-4.16.1.0, base-4.16.0.0, base-4.15.1.0,
base-4.15.0.0, base-4.14.3.0, base-4.14.2.0, base-4.14.1.0, base-4.14.0.0,
base-4.13.0.0, base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0,
base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0,
base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1,
base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0,
base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0,
base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from
non-upgradeable package requires installed instance)
[__2] fail (backjumping, conflict set: base, dhall-lsp-server, text)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: text, dhall-lsp-server, base

GHC 9.8.1 installed (will run from command line with ghc command), but GHC 9.4.8 set as default with ghcup

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