cabal: question on compiling build prerequisites

Mikhail Glushenkov the.dead.shall.rise at
Wed Dec 11 12:37:34 UTC 2013

Hi Peter,

Peter Selinger <selinger <at>> writes:

> The .cabal file contains all kinds of related variables, such as
> "build-depends" (but only packages can be listed here, not programs to
> be compiled), "other-modules" (but these modules would already require
> the pre-processor, so the pre-processor should be compiled first),
> "build-tools" (but this only refers to external programs).

According to Duncan Coutts [1], 'build-tools' should also work for internal


More information about the Libraries mailing list