Closed hasufell closed 7 months ago
@hasufell is your build by chance forcing text>2.0
? I don't see any other C++ dependencies in vty
's dependency tree.
It's very likely this is yet another text instance.
Yeah, GHC 9.2 does not cope with text>=2
+ TemplateHaskell
on Windows (which is what's happening in Graphics.Vty.PictureToSpans
). Just text
works fine, that's why I'm reluctant to prohibit building it with GHC<9.4 altogether.
Well, I don't know what to do.
A tactical solution would be to derive lens manually, so that TemplateHaskell
is not enabled. Graphics.Vty.PictureToSpans
is the only module depending on TH and there are only two makeLenses
, which would not take long to rewrite.
Dunno how @jtdaugherty feels about it though.
Happy to work around this. I just pushed https://github.com/jtdaugherty/vty/commit/72ce9f6ae5ea4f47efb4d3da57d8ee72a8035c91 to get away from the TH dependency in that module. I've just uploaded 6.2 to Hackage which includes this fix.
Maybe related: https://gitlab.haskell.org/ghc/ghc/-/issues/21435
Since GHC-9.4.x is even more busted on windows, it's not an option for me to upgrade.