Skip to content

Extension not working with ghcup install #521

@Ha5hBr0wn

Description

@Ha5hBr0wn

Following the instructions of:

For Cabal based projects, both ghc and cabal-install must be installed and on the PATH. It can also be installed with ghcup or Chocolatey on Windows.

I installed ghcup on a Linux machine. The folder ~/.ghcup/bin is on the PATH (added by a line in .bashrc inserted by ghcup intaller) which contains executables for ghc, cabal, and the language server. However when I hover over something I still don't get any information nor do error create red highlights. The only thing that works is the syntax coloring.

When I copy the ghc executable to another location on the PATH it works fine, which is the strange part. My only thought is that the extension is somehow looking through the PATH before .bashrc gets a chance to run.

If its not that then I have no idea what's causing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugA bug or unintended effecttype: setupIssues related with the extension setup, including binaries downloads

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions