Commit 4fc9588d authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Comment about getPackageDBContents.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 18fcd9c1
......@@ -1019,6 +1019,11 @@ getInstalledPackages verbosity comp packageDBs progconf = do
++ display flv
-- | Like 'getInstalledPackages', but for a single package DB.
--
-- NB: Why isn't this always a fall through to 'getInstalledPackages'?
-- That is because 'getInstalledPackages' performs some sanity checks
-- on the package database stack in question. However, when sandboxes
-- are involved these sanity checks are not desirable.
getPackageDBContents :: Verbosity -> Compiler
-> PackageDB -> ProgramConfiguration
-> IO InstalledPackageIndex
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment