From 0a0090bbb8d1fa8ffe42cc7a09fa8f2fd0350109 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 28 Aug 2015 07:43:53 +0200 Subject: Add --with-cabal-version and --with-cabal-pkg-db for stack --- CabalHelper/Types.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CabalHelper/Types.hs') 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 -- cgit v1.2.3