diff options
-rw-r--r-- | CabalHelper/Compiletime/Compile.hs | 6 | ||||
-rw-r--r-- | cabal-helper.cabal | 3 |
2 files changed, 1 insertions, 8 deletions
diff --git a/CabalHelper/Compiletime/Compile.hs b/CabalHelper/Compiletime/Compile.hs index c27ab63..8cc565e 100644 --- a/CabalHelper/Compiletime/Compile.hs +++ b/CabalHelper/Compiletime/Compile.hs @@ -66,11 +66,7 @@ compileHelper :: Options -> Version -> FilePath -> FilePath -> IO (Either ExitCo compileHelper opts cabalVer projdir distdir = do case cabalPkgDb opts of Nothing -> - run [ - -- TODO: here ghc's caching fails and it always recompiles, probably - -- because we write the sources to a tempdir and they always look - -- newer than the Cabal sources, not sure if we can fix this - compileCabalSource + run [ compileCabalSource , Right <$> MaybeT (cachedExe cabalVer) , compileSandbox , compileGlobal diff --git a/cabal-helper.cabal b/cabal-helper.cabal index b4867d2..bf1e26c 100644 --- a/cabal-helper.cabal +++ b/cabal-helper.cabal @@ -134,9 +134,6 @@ test-suite compile-test , template-haskell --- TODO: Use cabal_macros.h to replace -D flags by including it in --- CabalHelper.Data --- executable cabal-helper-main default-language: Haskell2010 default-extensions: NondecreasingIndentation |