aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'CabalHelper/Types.hs')
-rw-r--r--CabalHelper/Types.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/CabalHelper/Types.hs b/CabalHelper/Types.hs
index 771a83f..284f7e6 100644
--- a/CabalHelper/Types.hs
+++ b/CabalHelper/Types.hs
@@ -55,3 +55,13 @@ data ChPkgDb = ChPkgGlobal
| ChPkgUser
| ChPkgSpecific FilePath
deriving (Eq, Ord, Read, Show, Generic)
+
+data Options = Options {
+ verbose :: Bool
+ , ghcProgram :: FilePath
+ , ghcPkgProgram :: FilePath
+ , cabalProgram :: FilePath
+}
+
+defaultOptions :: Options
+defaultOptions = Options False "ghc" "ghc-pkg" "cabal"