Failed to load interface for 'Data.Text.Display.Generic'
JonathanLorimer opened this issue · 3 comments
JonathanLorimer commented
- Display version: 692250f
- GHC version: 9.4.4
- Cabal version: 3.11
I am getting an error about a "dyn" library when trying to use this package:
<no location info>: error:
Failed to load interface for ‘Data.Text.Display.Generic’
There are files missing in the ‘text-display-0.0.4.0-FociJmAHppxH1KLWbBkTyi’ package,
try running 'ghc-pkg check'.
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
Kleidukos commented
@JonathanLorimer yes, apparently the PR was lacking an addition to the cabal file for the new modules. This is fixed on HEAD, could you try it?
JonathanLorimer commented
Wow, bad error message. I thought you could prevent files in a library from being exported by not including them, that was my bad. Thanks for fixing, it worked.
Kleidukos commented
Glad to hear. :)