Configure flags and post-processing hooks for 'git-annex'.
Add 'doCheck' field to the Cabal derivation.
Generate.hs: naive attempt to extract the dependencies of the test suite