See also: 2009-The Year Of Hackage and A Plea For Cabal-install

—

I’m finally getting Turbinado updated for GHC 6.10 and I owe a huge debt to the cabal-install team (my preferred currency for debt payment is beer). Turbinado is a bitch to install by hand because it depends on specific version of various packages. One minor rev off and everything explodes.

So I’ve been bouncing between 3 machines working on Turbinado and trying to get the build cleaned up. Once cabal-install is installed, it’s a simple “cabal install” to get all dependencies downloaded and built. Much better than setting up a local packages directory, downloading 10 packages, trying to get the install order figured out and trying to remember which of the 10 packages is installed or not.

It’s fantastic that GHC is finally getting a package and build manager.

If you haven’t played with cabal-install, you should:



darcs get --partial http://darcs.haskell.org/cabal-install/ cd cabal-install sh bootstrap.sh ln -s ~/.cabal/bin/cabal ~/bin/cabal ### or somewhere else useful cabal update

My only want for cabal-install is for it to install executables somewhere more useful than ~/.cabal. But that’s a minor gripe…