When running stack ghci
on a fresh clone of a project having internal libraries, the attempt fails with
<command line>: cannot satisfy -package z-files-z-lib
(use -v for more information)
However, if one first stack build
s then the subsequent stack ghci
succeeds.
Found while working on #4142 and will probably work on it in the coming weeks.
Steps to reproducetest/integration/tests/3926-ghci-with-sublibraries/files
rm -rf .stack-work
to start from a clean statestack ghci
and see that it failsstack build
and then stack ghci
and it succeedsBoth step 3 and 5 should succeed.
ActualOnly step 3 succeeded
Stack version[files] λ stack --version
Version 1.8.0, Git revision bcbfb1e90d1470ed6b9748b79e1655c52fc65b88 (6034 commits) x86_64 hpack-0.28.2
Method of installation
Git clone
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4