Invalidate components cache when setup-config changed (Fix #684)

This commit is contained in:
Daniel Gröber 2015-11-21 17:27:31 +01:00
parent 604f2c18b0
commit a12a7fabc0
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ resolvedComponentsCache distdir = Cached {
filterOutSetupCfg =
filter (/= cradleRootDir </> setupConfigPath distdir)
changedFiles = filterOutSetupCfg iifs
in if null changedFiles
in if null changedFiles || setupChanged
then Nothing
else Just $ map Left changedFiles