
11 Dec
2013
11 Dec
'13
7:37 a.m.
Hi Peter,
Peter Selinger
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