Another recomp bug fixed

This commit is contained in:
Daniel Gröber 2015-03-06 14:49:12 +01:00
parent 8aece59638
commit b9230c7e3f

View File

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