Skip to content

ghcide error (cabal.project related?) #794

@joehendrix

Description

@joehendrix

I get the following error when running ghcide in a project with a cabal.project file in it. Are cabal vs project files supported?

Step 4/6, Cradle 1/1: Loading GHC Session
> cabal: Unrecognised target syntax for ''.
> 
ghcide: CradleError (ExitFailure 1) ["Failed to parse result of calling cabal","","cabal: Unrecognised target syntax for ''.\n\n",""]

Here is what I am using for ghc and cabal versions:

~% ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.6.5
~% cabal --version
cabal-install version 3.0.1.0
compiled using version 3.0.2.0 of the Cabal library 

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    build tool: cabaltype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions