aboutsummaryrefslogtreecommitdiff
path: root/tests/GhcSession.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GhcSession.hs')
-rw-r--r--tests/GhcSession.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs
index 1a97b89..886ee82 100644
--- a/tests/GhcSession.hs
+++ b/tests/GhcSession.hs
@@ -468,7 +468,7 @@ newBuildProjSetup = ProjSetupDescr "cabal-v2" $ Right $ Ex $ ProjSetupImpl
-- V2File then, also remove addCabalProject below so we
-- cover both cases.
, psiConfigure = \progs dir ->
- runWithCwd dir (cabalProgram progs) [ "new-configure" ]
+ runWithCwd dir (cabalProgram progs) [ "new-build", "--only-configure" ]
, psiBuild = \progs dir ->
runWithCwd dir (cabalProgram progs) [ "new-build" ]
, psiSdist = \progs srcdir destdir -> do
@@ -492,7 +492,7 @@ stackProjSetup ghcVer =
, psiProjLoc = \_cabal_file projdir ->
ProjLocStackYaml $ projdir </> "stack.yaml"
, psiConfigure = \progs dir ->
- runWithCwd dir (stackProgram progs) $ argsBefore ++ [ "build", "--dry-run" ]
+ runWithCwd dir (stackProgram progs) $ argsBefore ++ [ "build", "--only-configure" ]
, psiBuild = \progs dir ->
runWithCwd dir (stackProgram progs) $ argsBefore ++ [ "build" ]
, psiSdist = \progs srcdir destdir -> do