Implement a haskell-suite compiler support #1530

merged 1 commit into from Oct 14, 2013


None yet

4 participants


Haskell suite adds a new compiler flavor to Cabal, except it is not tied to any particular compiler. Hopefully, this may be one of the last compiler flavors added to Cabal. (related: #57)

It is already used by the haskell suite interface generator.

As far as I know, Fay is also interested in using haskell-packages, but the necessity to build a patched version of Cabal is a major hindrance for them.


Yes we'd much rather use haskell-packages than add more stuff to Cabal :)

Haskell member

Looks nicely self-contained, so merging shouldn't be much of a risk.

@dcoutts, can you take a look?

Haskell member

Yes, looks OK.

The bit about getting registered packages, and registering packages could probably share code with the Distribution.Simple.Program.HcPkg code, since it seems to share the same command line syntax. That HcPkg module does allow the program to be specified so it's fine for it to be the "${haskell-suite-compiler} pkg" syntax.

Haskell member

OK, merging.

@feuerbach If you want to refactor the code to use Distribution.Simple.Program.HcPkg, please do a separate pull request.

@23Skidoo 23Skidoo merged commit 47a3957 into haskell:master Oct 14, 2013

Thanks! I'll look into HcPkg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment