News for hackers. Stuff that matters.
Re:Imprisoned by the Haskell Toolchain by stevekemp on Monday January 07, 2013 @04:22AM (#5020178)
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

Re:Imprisoned by the Haskell Toolchain by mercurial on Monday January 07, 2013 @06:07AM (#5020458)
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.
Re:Imprisoned by the Haskell Toolchain by stevekemp on Monday January 07, 2013 @10:13AM (#5021302)
I'm confused by your comments relating to sudo ..?

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.

Re:Imprisoned by the Haskell Toolchain by mercurial on Monday January 07, 2013 @10:57AM (#5021558)
What I mean is, "cabal install" is usually a bad idea, with or without sudo.

However, you can do "cabal install cabal-dev" and rely on cabal-dev for the rest. It means you don't have a global package cache, but in this case it's really for the best. Don't forget to add .cabal/bin to your $PATH if you want access to cabal-dev.

Re:Imprisoned by the Haskell Toolchain by stevekemp on Monday January 07, 2013 @11:15AM (#5021672)
Thanks; I'll give that a try shortly.
Re:Imprisoned by the Haskell Toolchain by dons on Wednesday January 09, 2013 @04:46PM (#5033732)
ghc6 ...

We have been at ghc 7 for quite a while now (the Debian package is `ghc`).

You might start to see bit rot.