aboutsummaryrefslogtreecommitdiff
path: root/lib/Distribution
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Distribution')
-rw-r--r--lib/Distribution/Helper.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Distribution/Helper.hs b/lib/Distribution/Helper.hs
index 84c1c30..f8adcc4 100644
--- a/lib/Distribution/Helper.hs
+++ b/lib/Distribution/Helper.hs
@@ -840,7 +840,7 @@ mkCompHelperEnv
, cheProjDir = plCabalProjectDir projloc
, cheProjLocalCacheDir = distdir
, chePkgDb = []
- , chePlanJson = Nothing
+ , chePjUnits = Nothing
, cheDistV2 = Nothing
}
mkCompHelperEnv
@@ -855,9 +855,8 @@ mkCompHelperEnv
cheCabalVer = cabal_ver
cheProjLocalCacheDir = distdir </> "cache"
chePkgDb = []
- chePlanJson = Just plan
+ chePjUnits = Just $ pjUnits plan
cheDistV2 = Just distdir
- PlanJson {pjCabalLibVersion=Ver pjCabalLibVersion } = plan
mkCompHelperEnv
(ProjLocStackYaml stack_yaml)
(DistDirStack mworkdir)
@@ -874,6 +873,6 @@ mkCompHelperEnv
, cheProjDir = projdir
, cheProjLocalCacheDir = projdir </> workdir
, chePkgDb = [sppGlobalPkgDb, sppSnapPkgDb, sppLocalPkgDb]
- , chePlanJson = Nothing
+ , chePjUnits = Nothing
, cheDistV2 = Nothing
}