Permalink
Browse files

Extend a comment.

  • Loading branch information...
1 parent a600f66 commit 8abadca8eb818c79c01f4061f2ec36853e6b7e84 @23Skidoo 23Skidoo committed Oct 15, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 cabal-install/Distribution/Client/Sandbox.hs
@@ -130,7 +130,9 @@ sandboxInit verbosity sandboxFlags _globalFlags = do
indexFile <- tryGetIndexFilePath pkgEnv
Index.createEmpty verbosity indexFile
- -- Create the package DB for this compiler if it doesn't exist.
+ -- Create the package DB for this compiler if it doesn't exist. If the user
+ -- later chooses a different compiler with -w, the sandbox for that compiler
+ -- will be created on demand.
initPackageDBIfNeeded verbosity
(savedConfigureFlags . pkgEnvSavedConfig $ pkgEnv) comp conf

0 comments on commit 8abadca

Please sign in to comment.