From 9cb1c594fa944bdaba84de69e35118430b5590cf Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Wed, 7 Aug 2019 19:04:12 +0200 Subject: Break cycle between 'Package' and 'Unit' --- lib/Distribution/Helper.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 } -- cgit v1.2.3