aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Compile.hs
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2018-11-17 13:56:38 +0100
committerDaniel Gröber <dxld@darkboxed.org>2019-01-22 03:03:25 +0100
commit109310d6143d55fdd8a08079db11df607c5c2a3a (patch)
tree8282e73b9e6d7ca372dc67014678d75c68d1e1f2 /src/CabalHelper/Compiletime/Compile.hs
parenta941d3083b0f92e69af848abce9d82dcd6d98186 (diff)
Fix compBuildDir isolation bug
In f071b83fd8 (Include source hash in helper binary output path) we accidentally removed the GHC/Cabal version numbers previously included in this path.
Diffstat (limited to 'src/CabalHelper/Compiletime/Compile.hs')
-rw-r--r--src/CabalHelper/Compiletime/Compile.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CabalHelper/Compiletime/Compile.hs b/src/CabalHelper/Compiletime/Compile.hs
index 8a07077..c1c3bc4 100644
--- a/src/CabalHelper/Compiletime/Compile.hs
+++ b/src/CabalHelper/Compiletime/Compile.hs
@@ -233,7 +233,7 @@ compPaths appdir cachedir c =
case c of
CompileWithCabalPackage {compProductTarget=CPSGlobal,..} -> CompPaths {..}
where
- compBuildDir = appdir </> sourceHash <.> "build"
+ compBuildDir = appdir </> exeName compCabalVersion ++ "--" ++ sourceHash <.> "build"
compOutDir = compBuildDir
compExePath = compBuildDir </> "cabal-helper"