[Haskell-cafe] "build depends:" in a .cabal file
lemming at henning-thielemann.de
Mon Aug 18 05:15:06 EDT 2008
On Mon, 18 Aug 2008, Galchin, Vasili wrote:
> It seems to me that the "build depends" attribute/field is only
> informational, i.e. it doesn't cause "faulting in" dependencies if not
> present? If true, this seems to be a deficiency in cabal. ??
At least when compiling with GHC, Cabal exposes only packages which are
mentioned under Build-Depends. That is, if a package is missing in
Build-Depends, the project cannot be compiled. It is however possible to
forget modules in the Exposed-Modules and Other-Modules section and GHC
finds them anyway.
More information about the Haskell-Cafe