diff --git a/Language/Haskell/GhcMod/GhcPkg.hs b/Language/Haskell/GhcMod/GhcPkg.hs index 993e5c5..a50c202 100644 --- a/Language/Haskell/GhcMod/GhcPkg.hs +++ b/Language/Haskell/GhcMod/GhcPkg.hs @@ -83,6 +83,7 @@ packageLine :: String -> Maybe Package packageLine l = case listToMaybe $ readP_to_S packageLineP l of Just ((Normal,p),_) -> Just p + Just ((Hidden,p),_) -> Just p _ -> Nothing data PackageState = Normal | Hidden | Broken deriving (Eq,Show)