aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Compile.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper/Compiletime/Compile.hs')
-rw-r--r--src/CabalHelper/Compiletime/Compile.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CabalHelper/Compiletime/Compile.hs b/src/CabalHelper/Compiletime/Compile.hs
index e5d7dcd..faf674a 100644
--- a/src/CabalHelper/Compiletime/Compile.hs
+++ b/src/CabalHelper/Compiletime/Compile.hs
@@ -327,7 +327,7 @@ compPaths appdir proj_local_cachedir c =
compBuildDir =
appdir </> exeName compCabalVersion ++ "--" ++ sourceHash <.> "build"
compOutDir = compBuildDir
- compExePath = compBuildDir </> "cabal-helper"
+ compExePath = compBuildDir </> "cabal-helper" <.> exeExtension
CompileWithCabalPackage {compProductTarget=CPSProject} ->
projLocalCachedirPaths
CompileWithCabalSource {} ->
@@ -337,7 +337,7 @@ compPaths appdir proj_local_cachedir c =
where
compBuildDir = proj_local_cachedir </> "cabal-helper"
compOutDir = compBuildDir
- compExePath = compOutDir </> "cabal-helper"
+ compExePath = compOutDir </> "cabal-helper" <.> exeExtension
exeName :: ResolvedCabalVersion -> String
exeName (CabalHEAD commitid) = intercalate "--"