Skip to content

Commit

Permalink
Adapt ghc-project-types to latest cabal-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Oct 13, 2019
1 parent 28d9769 commit 7757a14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ghc-project-types/src/GhcProject/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ data GmComponent (t :: GmComponentType) eps = GmComponent {
, gmcEntrypoints :: eps
, gmcSourceDirs :: [FilePath]
, gmcName :: ChComponentName
, gmcNeedsBuildOutput :: NeedsBuildOutput
-- , gmcNeedsBuildOutput :: NeedsBuildOutput
} deriving (Eq, Ord, Show, Read, Generic, Functor)

instance Binary eps => Binary (GmComponent t eps) where
Expand Down Expand Up @@ -143,9 +143,10 @@ instance Binary ChEntrypoint where
instance Binary ChLibraryName where
put = ggput . from
get = to `fmap` ggget
instance Binary NeedsBuildOutput where
instance Binary EnvOverride where
put = ggput . from
get = to `fmap` ggget



-- ---------------------------------------------------------------------

0 comments on commit 7757a14

Please sign in to comment.