From cfb69428a10e245bc5b64417803b637693977b24 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 30 Sep 2010 21:01:28 +0000 Subject: [PATCH] Don't show the loaded packages in ":show packages"; fixes #4300 It's never worked properly, and the information is in ":show linker". --- ghc/InteractiveUI.hs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index 2e4f80b..c457d8a 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -1645,11 +1645,6 @@ showPackages = do io $ putStrLn $ showSDoc $ vcat $ text ("active package flags:"++if null pkg_flags then " none" else "") : map showFlag pkg_flags - pkg_ids <- fmap (preloadPackages . pkgState) getDynFlags - io $ putStrLn $ showSDoc $ vcat $ - text "packages currently loaded:" - : map (nest 2 . text . packageIdString) - (sortBy (compare `on` packageIdFS) pkg_ids) where showFlag (ExposePackage p) = text $ " -package " ++ p showFlag (HidePackage p) = text $ " -hide-package " ++ p showFlag (IgnorePackage p) = text $ " -ignore-package " ++ p -- 1.7.10.4