diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2020-05-01 21:30:06 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2020-05-01 21:30:06 +0200 |
commit | a5cb011fccf6d06a229b83052150f4accabdac0d (patch) | |
tree | a820aceb4f88727ae32416024b5e54f534c45ee3 /src/CabalHelper/Compiletime/Program | |
parent | 7ce6b4fcefec5cf56e422a3072ef148424bd586b (diff) |
Run v2-install in '/' instead of /tmp
See #89
Diffstat (limited to 'src/CabalHelper/Compiletime/Program')
-rw-r--r-- | src/CabalHelper/Compiletime/Program/CabalInstall.hs | 3 |
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 |