From 7757a149a6ddb243679840ebff8949ff305c3424 Mon Sep 17 00:00:00 2001 From: fendor Date: Sun, 13 Oct 2019 15:02:39 +0200 Subject: [PATCH] Adapt ghc-project-types to latest cabal-helper --- ghc-project-types/src/GhcProject/Types.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc-project-types/src/GhcProject/Types.hs b/ghc-project-types/src/GhcProject/Types.hs index 2588baf34..8bf6fc166 100644 --- a/ghc-project-types/src/GhcProject/Types.hs +++ b/ghc-project-types/src/GhcProject/Types.hs @@ -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 @@ -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 + -- ---------------------------------------------------------------------