aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Compiletime
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2017-09-26 15:43:22 +0200
committerDaniel Gröber <dxld@darkboxed.org>2017-09-26 16:36:19 +0200
commit24f43e49f8d5f7e5c410c5fe40b683342843be53 (patch)
tree5fb1a61a58061aecb1ae5e38040f7f86f5190243 /CabalHelper/Compiletime
parentd2413a18a310e307b8034f9c6b64168e69240247 (diff)
Remove obsolete TODOs
[ci skip]
Diffstat (limited to 'CabalHelper/Compiletime')
-rw-r--r--CabalHelper/Compiletime/Compile.hs6
1 files changed, 1 insertions, 5 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