aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Types.hs
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2015-08-28 07:43:53 +0200
committerDaniel Gröber <dxld@darkboxed.org>2015-08-28 07:43:53 +0200
commit0a0090bbb8d1fa8ffe42cc7a09fa8f2fd0350109 (patch)
tree4052f7533701e7ecc669857970611da89cfb2de3 /CabalHelper/Types.hs
parent7c4a58f0b6bbafc655489c3c894acc666226131d (diff)
Add --with-cabal-version and --with-cabal-pkg-db for stack
Diffstat (limited to 'CabalHelper/Types.hs')
-rw-r--r--CabalHelper/Types.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/CabalHelper/Types.hs b/CabalHelper/Types.hs
index c0ad0f7..c5282d7 100644
--- a/CabalHelper/Types.hs
+++ b/CabalHelper/Types.hs
@@ -62,7 +62,9 @@ data Options = Options {
, ghcProgram :: FilePath
, ghcPkgProgram :: FilePath
, cabalProgram :: FilePath
+ , cabalVersion :: Maybe Version
+ , cabalPkgDb :: Maybe FilePath
}
defaultOptions :: Options
-defaultOptions = Options False "ghc" "ghc-pkg" "cabal"
+defaultOptions = Options False "ghc" "ghc-pkg" "cabal" Nothing Nothing