Skip to content

Commit 5dc86c7

Browse files
committed
Document that stack ghci works best only after stack build.
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.
1 parent 883595e commit 5dc86c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/ghci.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,10 @@ For doing experiments which just involve packages installed in your databases,
7575
it may be useful to run ghci plainly like `stack exec ghci`. This will run a
7676
plain `ghci` in an environment which includes `GHC_PACKAGE_PATH`, and so will
7777
have access to your databases.
78+
79+
*Note*: Running `stack ghci` on a pristine copy of the code doesn't currently
80+
build libraries
81+
([#2790](https://github.com/commercialhaskell/stack/issues/2790)) or internal
82+
libraries ([#4148](https://github.com/commercialhaskell/stack/issues/4148)).
83+
It is recommended to always run a `stack build` before running `stack ghci`,
84+
until these two issues are closed.

0 commit comments

Comments
 (0)