aboutsummaryrefslogtreecommitdiff
path: root/lib/Distribution
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-08-07 19:04:12 +0200
committerDaniel Gröber (dxld) <dxld@darkboxed.org>2019-09-17 17:48:26 +0200
commit9cb1c594fa944bdaba84de69e35118430b5590cf (patch)
treeec2ef74370ad6640caf9b3afd9d57b8e63acc777 /lib/Distribution
parentaad828c48f26ea6febaabf37632b0e45868db895 (diff)
Break cycle between 'Package' and 'Unit'
Diffstat (limited to 'lib/Distribution')
-rw-r--r--lib/Distribution/Helper.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Distribution/Helper.hs b/lib/Distribution/Helper.hs
index eb277d5..79c9d57 100644
--- a/lib/Distribution/Helper.hs
+++ b/lib/Distribution/Helper.hs
@@ -493,7 +493,7 @@ readProjInfo qe pc pcm = withVerbosity $ do
, pFlags = []
, pUnits = (:|[]) Unit
{ uUnitId = UnitId pkg_name
- , uPackage = pkg
+ , uPackage = pkg { pUnits = () }
, uDistDir = DistDirLib distdir
, uImpl = UnitImplV1
}