Closed GuillaumeDesforges closed 4 years ago
Is there a way to see what's the thing that does not exist ?
I think you need to put the haskell-language-server executable on the path.
IIRC, cabal test
and stack test
should put the executable on the path, are you running them differently?
Relevant line: https://github.com/haskell/haskell-language-server/blob/master/test/utils/Test/Hls/Util.hs#L182
EDIT: the test-setup is kind of brittle/underdocumented
Do you mean that the test suite tries to run the whole executable, and as such it needs it in the path ? I will try a fix in that direction asap, thanks
Yeah, we are running integration tests via lsp-test
Added a preCheck script
to add executable to path for the tests.
Seems to work, thanks a lot!
While working on https://github.com/NixOS/nixpkgs/pull/91279