(Imported from Trac #608, reported by guest on 2009-11-15)
Files that are only used by cabal setup are not recompiled when they change between runs of 'cabal build'.
Reproduction steps for the included cabal package:
(Imported comment by guest on 2009-11-15)
Minimal cabal package that illustrates the problem
(Imported comment by @dcoutts on 2009-11-15)
Specifically, it recompiles if Setup.hs changes but not if any of the things that Setup.hs imports change. This because Cabal itself does not track module dependencies and because we do not call ghc --make on it every single time.
(Imported comment by @kosmikus on 2009-11-16)
Verified that this problem still exists. So it sounds like calling ghc --make on the setup script at least every time we configure would be a simple fix.