aboutsummaryrefslogtreecommitdiff
path: root/tests/GhcSession.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GhcSession.hs')
-rw-r--r--tests/GhcSession.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs
index 9fc7899..45fe82e 100644
--- a/tests/GhcSession.hs
+++ b/tests/GhcSession.hs
@@ -321,12 +321,11 @@ test modProgs (psdImpl -> ProjSetupImpl{..}) topdir tmpdir projdir cabal_file
psiSdist progs topdir tmpdir
+ cs <- concat <$> runQuery (allUnits (Map.elems . uiComponents)) qe
+
-- TODO: Cludge until we can just build the unit dependencies
- -- TODO: Move back under runQuery when we fixed backpack
runQuery buildProject qe
- cs <- concat <$> runQuery (allUnits (Map.elems . uiComponents)) qe
-
let pkgdir = takeDirectory cabal_file
homedir <- getHomeDirectory
let var_table =