[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 10:49:29 UTC 2008

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


Rajesh Krishnan <fedora at krishnan.cc> changed:

           What    |Removed                     |Added
                 CC|                            |fedora at krishnan.cc

--- Comment #16 from Rajesh Krishnan <fedora at krishnan.cc>  2008-09-05 06:49:28 EDT ---

The default Yaakov's macros.ghc or Jens' macros.haskell are NOT adequate for
building cabal packages that have mixed-case package names.  I had to modify
those a little bit to get the test package (Cabal- working:

For the updated macros.ghc that could build a mixed-case cabal package, look

For the updated macros.haskell that could build a mixed-case cabal package,
look at:

The files are quite small, so open either of those along with the corresponding
original ones in Kompare (or any other favorite diff program you prefer) to
note the differences (there are a few 'echo' traces in the file, let me know if
they are not needed and I would remove those).

For an example of package (with a mixed-case package-name) that builds with
this updated macros.ghc file, look at:

This is important because there are a lot of cabal based packages in Hackage
that have mixed-case package names.  I have already mentioned this before on
the Fedora Haskell List where I submitted Cabal- package for review.

I am attaching both here along with this comment.  

-Rajesh Krishnan

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