cabal: question on compiling build prerequisites

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


Hi Peter,

Peter Selinger <selinger <at> mathstat.dal.ca> 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
executables.

[1] https://github.com/haskell/cabal/issues/1541#issuecomment-30155513



More information about the Libraries mailing list