From 914d428ff1a1529b98206f9f3575c88ade7ea38b Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 26 Oct 2018 04:21:38 +0200 Subject: Split up Compile.hs into multiple modules --- tests/CompileTest.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3