Closed dunnl closed 6 years ago
I do not own a mac, and I really have no clue at what your problem might be. TH loads modules during compilation, so that certainly could be related to TH. Other than that, I don't know how to help you!
Closing due to inactiveness.
I'm having an issue using this elm-bridge and hlibsass. I have built a testing repo here https://github.com/dunnl/elm-bridge-iss20. It has something to do with the
TemplateHaskell
. The code looks like this:stack build
gives me errors like this:The problem does not go away after nuking
.stack-work/
and even after deleting stack's snapshots in my home folder. I am not sure if the problem is unique to hlibsass, but it has given people problems on OS X before. I'm also not sure that the problem is unique toelm-bridge
either, but I can't reproduce the error with simple TH expressions. Removing eitherderiveBoth
orimport Bindings.Libsass
(and removing the dep. from the cabal file) fixes the problem. I cannot reproduce the issue on my Arch linux box.Possibly related: GHC #11617, hlibsass #5
This sounds like it's not elm-bridge's "fault", but I don't know enough about template haskell to understand the problem. I guess TH changes the parameters of the linking stage?