Another recomp bug fixed

This commit is contained in:
Daniel Gröber 2015-03-06 14:49:12 +01:00
parent 8aece59638
commit b9230c7e3f
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ compile Compile {..} = do
case exists of
False -> return True
True -> do
tsrcs <- timeHsFiles cabalHelperSourceDir
tsrcs <- timeHsFiles $ cabalHelperSourceDir </> "CabalHelper"
texe <- timeFile exe
return $ any (texe <) tsrcs
Just _ -> return True -- let ghc do the difficult recomp checking