Closed
Description
Reproduce:
stack new test
cd test/
stack build
echo "cradle: { stack: {}}" > hie.yaml
code .
where code .
is an arbitrary lsp-client.
Log contains following error message if there is no "ghc" on the path:
hie: ghc: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
Expected behaviour:
A stack cradle should work even if there is no ghc on the path, since stack is supposed to manage the ghc installations.
Possible solutions: in HieWrapper, if project is a stack project, execute hie with stack exec hie
.
cc @mpickering
Metadata
Metadata
Assignees
Labels
No labels