Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Readme: Mention cabal configure and restarting HIE for troubleshooting #1370

Merged
merged 1 commit into from
Aug 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,12 @@ These builds have a dependency on [homebrew](https://brew.sh)'s `gmp` library. I
### cannot satisfy -package-id \<package\>

#### Is \<package\> 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 \<package\>?
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)
Expand Down