Add a ForceGlobalInstall argument to configPackageDB'.
Add a ForceGlobalInstall argument to configPackageDB'.

We use userInstallDirs in sandbox mode to prevent cabal-install from doing
unnecessary things like invoking itself via 'sudo' (see commit
7b2e3630f2ada8a56bf9100144e1bb9acbe6dc6a and 'rootCmd' in D.C.Install), but in
this particular case we want userInstall to be False to prevent UserPackageDB
from being added to the package DB stack (see #1183 and interpretPackageDbFlags
in D.S.Configure).

typelead/epm,fpco/cabal,headprogrammingczar/cabal,Heather/cabal,ian-ross/cabal,ghc-android/cabal,bennofs/cabal,kosmikus/cabal,corngood/cabal,themoritz/cabal,kosmikus/cabal,fugyk/cabal,garetxe/cabal,gridaphobe/cabal,mightybyte/cabal,sopvop/cabal,enolan/cabal,randen/cabal,triplepointfive/cabal,beni55/cabal,x-y-z/cabal,fugyk/cabal,edsko/cabal,anton-dessiatov/cabal,trskop/cabal,Heather/cabal,plumlife/cabal,kolmodin/cabal,mydaum/cabal,eric-stanley/cabal,anton-dessiatov/cabal,trskop/cabal,mmakowski/cabal,themoritz/cabal,sopvop/cabal,christiaanb/cabal,valderman/cabal,mightybyte/cabal,Helkafen/cabal,gridaphobe/cabal,sopvop/cabal,randen/cabal,christiaanb/cabal,bennofs/cabal,mydaum/cabal,plow-technologies/cabal,edsko/cabal,mmakowski/cabal,martinvlk/cabal,typelead/epm,thomie/cabal,martinvlk/cabal,eric-stanley/cabal,headprogrammingczar/cabal,kolmodin/cabal,ghc-android/cabal,fpco/cabal,Peaker/cabal,thoughtpolice/cabal,enolan/cabal,plumlife/cabal,themoritz/cabal,rimmington/cabal,lukexi/cabal,corngood/cabal,rimmington/cabal,ian-ross/cabal,seereason/cabal,thomie/cabal,Helkafen/cabal,gbaz/cabal,beni55/cabal,x-y-z/cabal,lukexi/cabal,valderman/cabal,Peaker/cabal,thoughtpolice/cabal,triplepointfive/cabal,plow-technologies/cabal,seereason/cabal,garetxe/cabal,gbaz/cabal