This has already been done for cabal 1.20.

-Edward


On Sun, Apr 27, 2014 at 5:59 AM, Henning Thielemann <schlepptop@henning-thielemann.de> wrote:
Am 09.04.2014 22:08, schrieb Erik Hesselink:


The only constraint that actually makes sense for template-haskell is
'installed', which I have in my cabal.config.

This is clever. Maybe Cabal can write this into a default cabal-config file?


This can then be combined with a
constraint on the known versions of TH a package works with.

A package could specify version bounds in
  Build-Depends: template-haskell


_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://www.haskell.org/mailman/listinfo/libraries