From 8ca1706b85c3067da54abc9f4ddb6c083e7fda15 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Sun, 25 Aug 2019 22:00:30 +0200 Subject: [PATCH] Readme: Mention cabal configure and restarting HIE for troubleshooting --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9dbff4f3..4619314ef 100644 --- a/README.md +++ b/README.md @@ -658,7 +658,12 @@ These builds have a dependency on [homebrew](https://brew.sh)'s `gmp` library. I ### cannot satisfy -package-id \ #### Is \ base-x? -Make sure that you are running the correct version of hie for your version of ghc, or check out hie-wrapper. +Make sure that the GHC version of HIE matches the one of the project. After that run +``` +$ cabal configure +``` + +and then restart HIE (e.g. by restarting your editor). #### Is there a hash (#) after \? Delete any `.ghc.environment*` files in your project root and try again. (At the time of writing, cabal new-style projects are not supported with ghc-mod)