-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Milestone
Description
I removed a few modules from a package and from the cabal file. Now stack build keeps warning about them, even though it doesn't rebuild anything. Additionally, stack ghci fails to load because it tries to load the removed modules.
$ stack build
Warning: modules not listed in manuel.cabal for library component (add to other-modules):
Manuel.Frontend.Errors.Error
Manuel.Frontend.Errors.ErrorDetail
Manuel.Frontend.Errors.List
$
$ stack ghci manuel
Warning: modules not listed in manuel.cabal for library component (add to other-modules):
Manuel.Frontend.Errors.Error
Manuel.Frontend.Errors.ErrorDetail
Manuel.Frontend.Errors.List
Warning: modules not listed in manuel.cabal for library component (add to other-modules):
Manuel.Frontend.Errors.Error
Manuel.Frontend.Errors.ErrorDetail
Manuel.Frontend.Errors.List
Warning: modules not listed in manuel.cabal for library component (add to other-modules):
Manuel.Frontend.Errors.Error
Manuel.Frontend.Errors.ErrorDetail
Manuel.Frontend.Errors.List
Using main module: Package `manuel' component exe:manuel with main-is file: /Some/path/Main.hs
Configuring GHCi with the following packages: manuel
GHCi, version 7.8.3: http://www.haskell.org/ghc/ :? for help
<snip loaded packages>
<command line>:
Could not find module ‘Manuel.Frontend.Errors.Error’
Use -v to see a list of the files searched for.
<command line>:
Could not find module ‘Manuel.Frontend.Errors.ErrorDetail’
Use -v to see a list of the files searched for.
<command line>:
Could not find module ‘Manuel.Frontend.Errors.List’
Use -v to see a list of the files searched for.
Failed, modules loaded: none.
Prelude>