diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2020-05-01 23:13:48 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2020-05-02 15:44:26 +0200 |
commit | 5b85a4b9e1c6463c94ffa595893ad02c9a3d2ec3 (patch) | |
tree | 5a1e715378d7da40d6adc3954efc0c556a11a5a8 /lib | |
parent | 852dbc69d276e19add3917d17dff5541d84e29d4 (diff) |
Only pass pjUnits to compile module instead of whole PlanJson
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Distribution/Helper.hs | 7 |
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 } |