Clamp down on dependencies:
commite7621b8ed2845fb6ad5fd640732fdfbf58ce5b08
authorJohn Ericson <jericson@galois.com>
Wed, 14 Dec 2016 21:07:11 +0000 (14 16:07 -0500)
committerJohn Ericson <Ericson2314@Yahoo.com>
Fri, 6 Jan 2017 21:42:08 +0000 (6 16:42 -0500)
treee61179ad73256256efe290bbc6707d7174875a5a
parentc0b63100d5a8aea2731e883baff8cf9587cc13eb
Clamp down on dependencies:

Previously:

 - "build-depends" entries on internal libraries with an explicit version
   range are an error.

Now for all three of "build-tools", "tool-depends", and "build-depends":

 - Explicit versions ranges on internal components that are satisfied by
   the current package cause a warning.

 - Explicit version ranges on internal components are are not satisfied by
   the current package are an error.

And additionally for "tool-depends":

 - dependencies on a non-existent executable in the current package are an
   error.
Cabal/Cabal.cabal
Cabal/Distribution/PackageDescription/Check.hs
Cabal/Distribution/Simple/BuildToolDepends.hs [new file with mode: 0644]