summaryrefslogtreecommitdiff
path: root/utils/check-ppr/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'utils/check-ppr/Main.hs')
-rw-r--r--utils/check-ppr/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/check-ppr/Main.hs b/utils/check-ppr/Main.hs
index 0973d2ccfe..9cc921c404 100644
--- a/utils/check-ppr/Main.hs
+++ b/utils/check-ppr/Main.hs
@@ -87,6 +87,7 @@ parseOneFile libdir fileName = do
_ <- setSessionDynFlags dflags2
addTarget Target { targetId = TargetFile fileName Nothing
, targetAllowObjCode = True
+ , targetUnitId = homeUnitId_ dflags
, targetContents = Nothing }
_ <- load LoadAllTargets
graph <- getModuleGraph