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.
error readCreateProcess: cabal-helper-wrapper "print-build-platform" (exit 1): failed #1262
Closed
Description
I'm using:
- Ubuntu 18.04.2 LTS (under Windows WSL)
- NVIM v0.4.0-811-gca1ce5902
- LanguageClient-neovim 41c948e (2019-05-08 21:17:55)
- haskell-ide-engine 33d4581 (2019-05-18 21:37:50)
My workaround:
export PATH="$PATH:$(stack path --compiler-bin)"
The problem of my workaround:
When I'm working on single files outside of any project, hie cannot find modules correctly.
Another workaround I have tried:
Add following file into PATH dir, name it ghc
and chmod +x ghc
#!/bin/sh
stack exec -- ghc "$@"
But this workaround failed, seems that cabal-helper-wrapper
is not finding ghc
in PATH.
Here is a related issue: haskell/vscode-haskell#128