mpickering/eventlog2html

Incompatibilty with blaze-html >= 0.9.2.0

Closed this issue · 3 comments

Unfortunately blaze-html started importing a conflicting template function. (see Changelog).

[19 of 19] Compiling Eventlog.HtmlTemplate ( src/Eventlog/HtmlTemplate.hs, dist/build/Eventlog/HtmlTemplate.o, dist/build/Eventlog/HtmlTemplate.dyn_o )

src/Eventlog/HtmlTemplate.hs:214:16: error:
    Ambiguous occurrence ‘template’
    It could refer to
       either ‘H.template’,
              imported from ‘Text.Blaze.Html5’ at src/Eventlog/HtmlTemplate.hs:14:1-39
           or ‘Eventlog.HtmlTemplate.template’,
              defined at src/Eventlog/HtmlTemplate.hs:137:1
    |
214 |   renderHtml $ template x as $ allTabs x as
    |                ^^^^^^^^

Source of build error

Thanks for the report :) I already changed the metadata on Hackage and put an upper bound of < 0.9.2 in place. As soon as CI is green I will also merge the proper fix into the codebase.

@BinderDavid, is there a plan to release a version with the proper fix on Hackage?

@mpilgrem I am preparing a release in #190
After the PR is merged I add a new git tag and release on Hackage :)

Edit: Done. Version 0.11.1 has been uploaded to Hackage.