From 8b51b51e90458b226e68fd8a1785f28252d58325 Mon Sep 17 00:00:00 2001 From: jneira Date: Fri, 15 May 2020 07:34:34 +0200 Subject: Add .exe in win to cabal-helper executable --- src/CabalHelper/Compiletime/Compile.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CabalHelper/Compiletime') 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 "--" -- cgit v1.2.3