aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Program
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper/Compiletime/Program')
-rw-r--r--src/CabalHelper/Compiletime/Program/CabalInstall.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CabalHelper/Compiletime/Program/CabalInstall.hs b/src/CabalHelper/Compiletime/Program/CabalInstall.hs
index 58e21be..6af8e0f 100644
--- a/src/CabalHelper/Compiletime/Program/CabalInstall.hs
+++ b/src/CabalHelper/Compiletime/Program/CabalInstall.hs
@@ -215,8 +215,7 @@ installCabalLibV2 _ghcVer cv (PackageEnvFile env_file) = do
installingMessage cv
(target, cwd) <- case cv of
CabalVersion cabalVer -> do
- tmp <- getTemporaryDirectory
- return $ ("Cabal-"++showVersion cabalVer, tmp)
+ return $ ("Cabal-"++showVersion cabalVer, "/")
CabalHEAD (_commitid, CabalSourceDir srcdir) -> do
return (".", srcdir)
CabalInstallVersion {..} <- cabalInstallVersion