Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains an sdist
like function which computes the source files
that we should track to determine if a rebuild is necessary.
Unlike sdist
, we can operate directly on the true
PackageDescription
(not flattened).
The naming convention, roughly, is that to declare we need the source for some type T, you use the function needT; some functions need auxiliary information.
We can only use this code for non-Custom scripts; Custom scripts may have arbitrary extra dependencies (esp. new preprocessors) which we cannot "see" easily.