Wrong `ghc` detected by hie-bios
hasufell opened this issue · 1 comments
hasufell commented
$ haskell-language-server-wrapper --project-ghc-version 2>/dev/null
9.2.2
$ cabal build
cabal: Cannot find the program 'ghc'. User-specified path 'ghc-8.10.7' does
not refer to an executable and the program is not on the system path.
$ ghc --numeric-version Sun 12:35
9.2.2
hasufell commented
It seems this is fixed on master.
The errors now is:
Found "/home/hasufell/git/bytestring/hie.yaml" for "/home/hasufell/git/bytestring/a"
Failed to get project GHC version: CradleError {cradleErrorDependencies = [], cradleErrorExitCode = ExitFailure 1, cradleErrorStderr = ["Error when calling cabal exec -v0 -- ghc --print-libdir","","cabal: Cannot find the program 'ghc'. User-specified path 'ghc-8.10.7' does\nnot refer to an executable and the program is not on the system path.\n\n"]}