diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-08-07 07:23:20 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-08-07 07:23:20 +0200 |
commit | 16c687851abd6277c4e8573d45f2604aa580e84a (patch) | |
tree | c9c0117de3341dcd724b1d2250b43037d1b17697 /CabalHelper/Types.hs | |
parent | 7fe7afcc49994e5f9b6abd5455b27a1473eef8d4 (diff) |
Add pkg-db stack stuff to library interface
Diffstat (limited to 'CabalHelper/Types.hs')
-rw-r--r-- | CabalHelper/Types.hs | 6 |
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) |