From a5cb011fccf6d06a229b83052150f4accabdac0d Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 1 May 2020 21:30:06 +0200 Subject: Run v2-install in '/' instead of /tmp See #89 --- src/CabalHelper/Compiletime/Program/CabalInstall.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/CabalHelper/Compiletime') 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 -- cgit v1.2.3