aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'CabalHelper/Types.hs')
-rw-r--r--CabalHelper/Types.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/CabalHelper/Types.hs b/CabalHelper/Types.hs
index 1f7d364..771a83f 100644
--- a/CabalHelper/Types.hs
+++ b/CabalHelper/Types.hs
@@ -34,6 +34,7 @@ data ChResponse
= ChResponseCompList [(ChComponentName, [String])]
| ChResponseEntrypoints [(ChComponentName, ChEntrypoint)]
| ChResponseList [String]
+ | ChResponsePkgDbs [ChPkgDb]
| ChResponseLbi String
| ChResponseVersion String Version
deriving (Eq, Ord, Read, Show, Generic)
@@ -49,3 +50,8 @@ data ChEntrypoint = ChSetupEntrypoint -- ^ Almost like 'ChExeEntrypoint' but
| ChExeEntrypoint { chMainIs :: FilePath
, chOtherModules :: [ChModuleName]
} deriving (Eq, Ord, Read, Show, Generic)
+
+data ChPkgDb = ChPkgGlobal
+ | ChPkgUser
+ | ChPkgSpecific FilePath
+ deriving (Eq, Ord, Read, Show, Generic)