aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/CompileTest.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs
index 26ec0e3..8f7ab79 100644
--- a/tests/CompileTest.hs
+++ b/tests/CompileTest.hs
@@ -21,7 +21,10 @@ import Prelude
import CabalHelper.Compiletime.Compat.Environment
import CabalHelper.Compiletime.Compat.Version
+import CabalHelper.Compiletime.Cabal
import CabalHelper.Compiletime.Compile
+import CabalHelper.Compiletime.Program.CabalInstall
+import CabalHelper.Compiletime.Program.GHC
import CabalHelper.Compiletime.Types
import CabalHelper.Shared.Common
@@ -172,7 +175,7 @@ testCabalVersions versions = do
compilePrivatePkgDb
:: Env => Either HEAD Version -> IO (Either ExitCode FilePath)
compilePrivatePkgDb eCabalVer = do
- res <- E.try $ installCabal eCabalVer
+ res <- E.try $ installCabalLib eCabalVer
case res of
Right (db, cabalVer) ->
compileWithPkg db cabalVer