Skip to content

"Project requires Cabal but it isn't installed" but cabal is installed and on the PATH (linux) #303

@avh4

Description

@avh4

When opening a .hs file, an error is shown: "Project requires Cabal but it isn't installed / Source: Haskell (Extension)" Clicking the button in the error opens https://www.haskell.org/ghcup/ in my web browser. But cabal is already installed with ghcup. Opening a terminal in VSCode and running which cabal gives /home/avh4/.ghcup/bin/cabal

Haskell extension v1.1.0
platform: Ubuntu Linux 20.04.1

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