Skip to content

Commit

Permalink
Don't complain if there is no ghc rts package registered
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts committed Oct 6, 2009
1 parent d018cab commit a23976d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Distribution/Simple/GHC.hs
Expand Up @@ -364,7 +364,8 @@ getInstalledPackages verbosity packagedbs conf = do
case PackageIndex.lookupPackageName index (PackageName "rts") of
[(_,[rts])]
-> PackageIndex.insert (removeMingwIncludeDir rts) index
_ -> error "No (or multiple) ghc rts package is registered!!"
_ -> index -- No (or multiple) ghc rts package is registered!!
-- Feh, whatever, the ghc testsuite does some crazy stuff.

checkPackageDbStack :: PackageDBStack -> IO ()
checkPackageDbStack (GlobalPackageDB:rest)
Expand Down

0 comments on commit a23976d

Please sign in to comment.