[Haskell-cafe] --disable-{executable-}profiling cabal-install- with ghc-7.6.3

Ozgur Akgun ozgurakgun at gmail.com
Tue Jan 13 16:38:42 UTC 2015

I see now, thanks for the additional explanation.


On 13 January 2015 at 16:08, Johan Tibell <johan.tibell at gmail.com> wrote:

> Just to separate two things: cabal-install, the executable itself, must be
> compiled against a matching Cabal version. An external Setup executable can
> be compiled against an older version, if that's all that's available. One
> reason that only an old Cabal might be available is that you're using a
> cabal-install against some old GHC version you have installed, which
> shipped with an old Cabal.
> It's a more friendly behavior than saying "you must upgrade Cabal".
> On Tue, Jan 13, 2015 at 8:01 AM, Ozgur Akgun <ozgurakgun at gmail.com> wrote:
>> On 13 January 2015 at 14:56, Johan Tibell <johan.tibell at gmail.com> wrote:
>>> Chatted a bit with Duncan. cabal-install needs to be prepared to handle
>>> calling older Cabal lib versions. In this case cabal-install needs to check
>>> which Cabal install version was used (or rather, which of the available
>>> versions it wants to use) and then call the setup executable correctly (in
>>> this case not passing --disable-profiling to older Cabals, but instead
>>> using the old flag.)
>> This sounds reasonable. There must be a reason since you are not doing so
>> already, but what is the reason for not requiring Cabal- for
>> cabal-install- in the first place?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20150113/aa7e9edf/attachment.html>

More information about the Haskell-Cafe mailing list