[Fedora-haskell-list] [Bug 460304] Add macros to GHC for packaging cabal packages for GHC

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 5 03:44:40 UTC 2008

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


--- Comment #13 from Tom Moertel <tom at moertel.com>  2008-09-04 23:44:39 EDT ---
Yaakov, thanks for explaining your concerns in detail.

In reviewing Jens's spec for ghc-X11, it appears that it avoids your primary
concern by passing the "--ghc" flag during the initial Cabal-setup invocation:

    %cabal_configure -p --ghc   <= HERE
    %cabal build
    %cabal haddock

According to the Cabal documentation, this flag ensures that Cabal will use GHC
for the later stages of Cabal processing, regardless of which Haskell
implementation runhaskell invokes.  (Ref:
 So even if runhaskell invoked NHC, for example, Jens's spec would still build
a GHC package.

Do you think using Cabal-setup flags to specify the desired compiler will
adequately resolve your concern about hidden compiler dependencies?


Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the Fedora-haskell-list mailing list