Earlier quoted context omitted.
I'm not a haskell user, but I did recently try to install a haskell project on my Debian Squeeze host: $ 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. FWIW: https://github.com/skx/static-site-generators
Don't sudo cabal install whatever. Actually, avoid cabal install without sudo too, unless you're working with software using dynamic recompilation like xmonad. Use cabal-dev instead, this will save you a world of pain.
That said it seems that cabal-dev is not packaged for Debian. Come the wheezy release of Debian the hakyll project I wished to try out will be available as a .deb, so I'll try it again then.