aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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
}