Closed kpbochenek closed 6 years ago
Changing to then Just <$> pixbufNewFromFile (T.unpack name)
solves issue for me, but does current version on master compiles for you?
Current version definitely compiles for me, and if you look at the docs, they indicate that the correct type is T.text (see https://hackage.haskell.org/package/gi-gdkpixbuf-2.0.15/docs/GI-GdkPixbuf-Objects-Pixbuf.html#v:pixbufNewFromFile). A lot of people do seem to be having this issue (See #1). I believe @dongcarl is also seeing this.
@garetxe Might be able to help. You can usually reach him in the gitter haskell-gi chat.
My understanding of all of this is not super solid, but there are three possible causes of this that I can think of:
@kpbochenek You should join https://gitter.im/taffybar/Lobby because discussion about this is ongiong there.
I am hitting compilation error:
Tried with OverloadedStrings but suprisingly didn't help, any idea what could cause that?