-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal-install is not installed. Check the README... #131
Comments
I get the same, here is the output after startup in addition. macOS 10.14.2 x64 VSCode
|
It's from HIE, not from the extension, the source is here: https://github.com/haskell/haskell-ide-engine/blob/e1aeb180ab8065bd6a8413e050c6277191d0d33f/src/Haskell/Ide/Engine/Transport/LspStdio.hs#L443 The warning basically says that there is no executable with the name Maybe this could be improved in the future? In the extension I am able to provide a custom path to |
The install instructions on https://github.com/haskell/haskell-ide-engine suggesting using either the Makefile or (preferred now) Shake install process, which does install |
Has this issue been resolved? I still see the warning. I installed HIE using shake with |
@jchia the hie build script don't install cabal by default anymore, cause it should not be needed if you are using
Maybe we should add to |
I've added a visible new target to build script: |
@jneira I was getting the warning on stack projects. The warning went away after I did |
Yeah the warning should not be displayed if the project is stack based.
No, i've just reproduced the error, it seems stack finds the cabal it just installed inside $STACK_ROOT, i will change the mentioned pr to take in account that behaviour and install it every time (if it is not in the original $PATH). |
Finally make the install script ignore the cached cabal executable is trickier than i expected so the fix will be in another separate pr |
I've updated the README to make clear cabal is optional and the way to install it with stack: haskell/haskell-ide-engine#1414 |
hie not longer requires cabal by default and no warning message is show |
cabal-install is not installed. Check the README for more information
appears, what it's actually referring to I don't know.The text was updated successfully, but these errors were encountered: