diff options
author | jneira <atreyu.bbb@gmail.com> | 2020-05-15 07:34:34 +0200 |
---|---|---|
committer | Daniel Gröber (dxld) <dxld@darkboxed.org> | 2020-05-20 09:42:02 +0200 |
commit | 8b51b51e90458b226e68fd8a1785f28252d58325 (patch) | |
tree | cfbee3d399ae84beb577600908187b107284cbfe /src | |
parent | 1af155e04faa1ad0530c273efda9c2fbf10705fe (diff) |
Add .exe in win to cabal-helper executable
Diffstat (limited to 'src')
-rw-r--r-- | src/CabalHelper/Compiletime/Compile.hs | 4 |
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 "--" |