Menu
  • HOME
  • TAGS

Haskell package build error

haskell,cabal,haskell-platform,hakyll

This is due to a bug in the 'temporary' package: https://github.com/batterseapower/temporary/pull/12 Due to the maintainer not being responsive, there hasn't been an update to temporary on hackage, and someone has created a temporary-rc fork for the time being. From what I can tell the 'temporary' dependency is from pandoc and...

How to use Pandoc filter within Hakyll?

haskell,filter,pandoc,hakyll

In the end I think you would use both. Using this https://github.com/listx/listx_blog/blob/master/blog.hs as a model, the following will have the same shape as transformer has in it. transformer is used on lines 69-80 for 'posts' -- that is as the third argument to pandocCompilerWithTransformM, which is a (Pandoc -> Compiler...

Minimal cabal file for use in sandbox

haskell,cabal,hakyll

I use your first approach myself for my Hakyll-based webpage. You don't need to create a .cabal file to pin the Hakyll version, you only need to add the following line to cabal.config: constraints: hakyll == 4.5 I think that cabal repl will work with this approach, but you will...