In order to have zlib
available reliably for Haskell, i defined a
Nix environment like in this
example. In
order to use it, type:
$ nix-shell .
At this point the site can be rebuilt with the commands:
$ cabal sandbox init
$ cabal install
$ cabal run site clean
$ cabal run site build
Hakyll leaves the built assets under a _site
folder. That folder is
ignored in the master
branch, and it contains a different Git repo
pointing to master
at
https://github.com/danse/danse.github.io. Thus, after a build, i can
usually execute:
$ cd _site
$ git commit -am update
$ git push origin