rules_haskell
rules_haskell copied to clipboard
Expose correct GHC in PATH in ghcide wrapper
Recent versions of ghcide or haskell-language-server require ghc
in PATH
to determine the GHC version and libdir at runtime. Bazel manages the GHC installation in rules_haskell, so we should offer an easy way to expose the correct GHC installation to ghcide.