Found a good article on avoiding Cabal hell.