This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
HIE doesn't find cabal #1663
Open
Description
I've set up hie using all-hies
on a NixOS system. Opening a Haskell file and explicitly invoking first direnv-mode
and then lsp
results in an error in *hie::stderr*
saying it cannot find Cabal == 3.0.0.0
.
Opening a terminal, changing to the directory and executing cabal --version
, however, gives:
cabal-install version 3.0.0.0
I read about the direnv and lsp race condition, which is why I explicitly enabled direnv
and then lsp
, but to no avail.
How can I debug this further?