patch applied (cabal): Simplify the handling of --with-prog= in build/haddock commands.

Duncan Coutts duncan.coutts at
Sun Aug 31 18:56:10 EDT 2008

Sun Aug 31 14:55:51 PDT 2008  Duncan Coutts <duncan at>
  * Simplify the handling of --with-prog= in build/haddock commands.
  We allow extra rgs and the location of programs to be given to
  the build and haddock commands, not just at configure time. The
  code to do this is now simpler and more general. This should not
  be the default use mode however since it involves configuring
  the programs each time where as doing it at configure time allows
  it to be done once and saved. Further, specifying a different
  version of the program at build time than at configure time is
  likely to fail, especially for the compiler programs. Changing
  the compiler really requires reconfiguring.

    M ./Distribution/Simple.hs -55 +47
    M ./Distribution/Simple/Program.hs -8

View patch online:

More information about the cabal-devel mailing list