aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2020-05-01 21:30:06 +0200
committerDaniel Gröber <dxld@darkboxed.org>2020-05-01 21:30:06 +0200
commita5cb011fccf6d06a229b83052150f4accabdac0d (patch)
treea820aceb4f88727ae32416024b5e54f534c45ee3 /src
parent7ce6b4fcefec5cf56e422a3072ef148424bd586b (diff)
Run v2-install in '/' instead of /tmp
See #89
Diffstat (limited to 'src')
-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