$ sudo apt-get install ghc6 cabal-install
$ sudo cabal update
$ sudo cabal install hakyll
That failed with an error of the form "installing XX version YY requires FOO version BAR". That gave me zero help in completing the installation, and so I gave up.