aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Compiletime/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'CabalHelper/Compiletime/Types.hs')
-rw-r--r--CabalHelper/Compiletime/Types.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/CabalHelper/Compiletime/Types.hs b/CabalHelper/Compiletime/Types.hs
index 138baa7..da6eb4d 100644
--- a/CabalHelper/Compiletime/Types.hs
+++ b/CabalHelper/Compiletime/Types.hs
@@ -25,8 +25,10 @@ data Options = Options {
, ghcPkgProgram :: FilePath
, cabalProgram :: FilePath
, cabalVersion :: Maybe Version
- , cabalPkgDb :: Maybe FilePath
+ , cabalPkgDb :: Maybe PackageDbDir
}
+newtype PackageDbDir = PackageDbDir { packageDbDir :: FilePath }
+
defaultOptions :: Options
defaultOptions = Options False "ghc" "ghc-pkg" "cabal" Nothing Nothing