Skip to content

"cabal-hls-install ghcs" does not list all ghc versions available. #2285

Closed
@dcastro

Description

@dcastro

I have ghc 8.10.4 installed (through ghcup). However, when I run ./cabal-hls-install ghcs, version 8.10.4 does not show up.

Your environment

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.4

$ where ghc
/home/dc/.ghcup/bin/ghc
/usr/bin/ghc
/bin/ghc

Ubuntu 20.04.3 LTS.

Steps to reproduce

  1. Checked out the latest master (1119def0f94598086f5c8b23c727a40f99cdd969)
  2. Run ./cabal-hls-install ghcs.

Expected behaviour

I expected GHC 8.10.4 to be listed.

Actual behaviour

$ ./cabal-hls-install ghcs

********************************************************************************
Found the following GHC paths: 
ghc-8.6.5: /usr/bin/ghc-8.6.5
ghc-8.8.3: /home/dc/.ghcup/bin/ghc-8.8.3
ghc-8.8.4: /home/dc/.ghcup/bin/ghc-8.8.4

********************************************************************************

Build completed in 0.00s

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions