Skip to content

Commit

Permalink
Document that stack ghci works best only after stack build.
Browse files Browse the repository at this point in the history
This documents the #2790 and #4148 bugs as we decided in #4177 to only
document this behavior for 1.8.1 release and solve them later.
  • Loading branch information
mihaimaruseac committed Jun 24, 2018
1 parent 94d302c commit 5dde08d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/ghci.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,10 @@ For doing experiments which just involve packages installed in your databases,
it may be useful to run ghci plainly like `stack exec ghci`. This will run a
plain `ghci` in an environment which includes `GHC_PACKAGE_PATH`, and so will
have access to your databases.

*Note*: Running `stack ghci` on a pristine copy of the code doesn't currently
build libraries
([#2790](https://github.com/commercialhaskell/stack/issues/2790)) or internal
libraries ([#4148](https://github.com/commercialhaskell/stack/issues/4148)).
It is recommended to always run a `stack build` before running `stack ghci`,
until these two issues are closed.

0 comments on commit 5dde08d

Please sign in to comment.