When looking at the flags, there seems to be no indication of cabal install . In the periods before cabal install and when you had to manually create your own packages, the spell during the installation phase was runghc Setup install --user after running runghc Setup configure --prefix=$FOO --user - maybe this will work? Setup.hs will not automatically call โbuildโ when you tell โinstallโ if my memory is working correctly.
Now, for the future, if you want to avoid all this annoying dependent hell, I highly recommend that you use cabal-dev , which will isolate your package installations and never touch your actual user / global package database, in which case you're just run:
$ cabal unpack gitit $ cd gitit-0.8.0.1
It will correctly download and install all the necessary dependencies, such as installing cabal, but it will isolate them by creating the ./cabal-dev directory containing the stand-alone package database. It never touches your global or custom db package in ~/.ghc/ . cabal-dev efficiently edits cabal files and copes with diamond dependency problems. Kabbal is confronted with the past, the cabal-install manually download packages to the past.
source share