aboutsummaryrefslogtreecommitdiff
path: root/tests/Spec.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Spec.hs')
-rw-r--r--tests/Spec.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs
index ea6aff8..1294dd8 100644
--- a/tests/Spec.hs
+++ b/tests/Spec.hs
@@ -72,6 +72,7 @@ main = do
compilePrivatePkgDb :: Version -> IO (Either ExitCode FilePath)
compilePrivatePkgDb cabalVer = do
+ _ <- rawSystem "rm" [ "-r", "/tmp/.ghc-mod" ]
db <- installCabal defaultOptions cabalVer `E.catch`
\(SomeException _) -> errorInstallCabal cabalVer "dist"
compileWithPkg "." (Just db) cabalVer