aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Types.hs
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2018-01-12 19:47:07 +0100
committerDaniel Gröber <dxld@darkboxed.org>2018-01-18 14:10:26 +0100
commit79988a8a5c2e3c1f29ca1e20c2d4a258863cd106 (patch)
treee42df8082bc2721a506ffdb77c754247b2d2cb83 /src/CabalHelper/Compiletime/Types.hs
parentcb0f70b691e0913790739bda6b4528a79c9a0df0 (diff)
Make PackageDbDir newtype accessor more conventional
Diffstat (limited to 'src/CabalHelper/Compiletime/Types.hs')
-rw-r--r--src/CabalHelper/Compiletime/Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CabalHelper/Compiletime/Types.hs b/src/CabalHelper/Compiletime/Types.hs
index cf36e49a..297f785 100644
--- a/src/CabalHelper/Compiletime/Types.hs
+++ b/src/CabalHelper/Compiletime/Types.hs
@@ -34,7 +34,7 @@ data Options = Options {
, oCabalPkgDb :: Maybe PackageDbDir
}
-newtype PackageDbDir = PackageDbDir { packageDbDir :: FilePath }
+newtype PackageDbDir = PackageDbDir { unPackageDbDir :: FilePath }
defaultOptions :: Options
defaultOptions = Options False "ghc" "ghc-pkg" "cabal" Nothing Nothing