diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2018-10-26 04:21:38 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-10-27 20:48:56 +0200 |
commit | 914d428ff1a1529b98206f9f3575c88ade7ea38b (patch) | |
tree | 50773c24714b73ab1a655ee3cc344d4b1655d44a /tests | |
parent | 385685dc9da4d95e39e17a323a69d12f1204c951 (diff) |
Split up Compile.hs into multiple modules
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CompileTest.hs | 5 |
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 |