Global Constraints for Cabal and also Release Plan?

Mikhail Glushenkov the.dead.shall.rise at gmail.com
Thu Sep 24 16:16:29 UTC 2015


On 24 September 2015 at 17:56, Gershom B <gershomb at gmail.com> wrote:
> Consider for example if we have a configure build-type, that runs an autoconf script. It is not enough that the executable we run be in the path, but also that the “path” available to the autoconf script be amended as well.

Yes, 'extra-prog-path' also affects the PATH environment variable of
the programs invoked by cabal-install:

https://github.com/haskell/cabal/blob/master/Cabal/Distribution/Simple/Program/Run.hs#L177
https://github.com/haskell/cabal/blob/master/Cabal/Distribution/Simple/Program/Db.hs#L344
https://github.com/haskell/cabal/blob/master/Cabal/Distribution/Simple/Configure.hs#L808


More information about the cabal-devel mailing list