-
Jake Wheat authored
This changes how the SCOPE_OF_INSTALLATION variable is used to provide an alternate way of running bootstrap.sh which can install cabal-install to a separate prefix and package database without altering the user's package database or using it. The idea with this is to improve the repeatability of automatically installing ghc, cabal and other haskell independently of the current standard installation or the user's main package database. Usage example: ghc-pkg init /home/jake/test_cabal/ SCOPE_OF_INSTALLATION='--global --package-db=/home/jake/test_cabal/packagedb' PREFIX=/home/jake/test_cabal/prefix ./bootstrap.sh If you don't override the SCOPE_OF_INSTALLATION variable, bootstrap.sh works as before.
4c13f850