(Imported from Trac #926, reported by milkypostman on 2012-03-09)
If you run the bootstrap for cabal-install and specify --global, the script ignores the PREFIX environment variable. This means that it's impossible to install anywhere else besides /usr/local/ using --global.
Here is a patch.
(Imported comment by milkypostman on 2012-03-09)
Patch for bootstrap.sh to allow specifying PREFIX and use --global
(Imported comment by @kosmikus on 2012-03-09)