Skip to content

Failed to find the GHC version of this Cabal project. Error when calling cabal exec -v0 -- ghc --print-libdir #1221

Description

@golddydev

Your environment

hls: 2.9.0.1
cabal: 3.12.1.0
ghc: 9.4.8

Which OS do you use?

Ubuntu 22.04 Jammy

How is your project built (alternative: link to the project)?

cabal project

Which LSP client (editor/plugin) do you use?

Haskell Language server extension

Which version of HLS do you use and how did you install it?

Have you configured HLS in any way (especially: a hie.yaml file)?

No

Bug

I couldn't get hls working for my project.

Failed to find the GHC version of this Cabal project. Error when calling cabal exec -v0 -- ghc --print-libdir

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugA bug or unintended effect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions