I think cabal passes -g by default. But if not you can something like: https://github.com/vmchale/atspkg/blob/master/cabal.project#L30

Cheers,
Vanessa McHale

On 3/14/19 5:18 AM, Kees Bleijenberg wrote:

Hi all,

 

Alex is in the build-tools part of the cabal file. The docs of Alex says that invoking Alex with –g makes the resulting lexer significantly faster and smaller. How can I pass the –g parameter in the cabal file?

 

Kees


Virusvrij. www.avast.com

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.