Dear Stack users, On webpage https://www.haskell.org/happy/doc/html/sec-tips.html it is stated
> If you are using GHC, generate parsers using the -a -g -c options, and > compile them using GHC with the -fglasgow-exts option. I can specify the ghc options to stack using the ghc-options field in the .cabal file. Cabal support options for arbitrary programs ( https://www.haskell.org/cabal/users-guide/installing-packages.html#programs-used-for-building ), yet stack doesn't recognize happy-options: Cabal file warning in C:\Example.cabal: Unknown fields: happy-options (line 27) Fields allowed in this section: exposed-modules, reexported-modules, required-signatures, exposed-signatures, exposed, buildable, build-tools, build-depends, cpp-options, cc-options, ld-options, pkgconfig-depends, frameworks, c-sources, js-sources, default-language, other-languages, default-extensions, other-extensions, extensions, extra-libraries, extra-ghci-libraries, extra-lib-dirs, includes, install-includes, include-dirs, hs-source-dirs, other-modules, ghc-prof-options, ghcjs-prof-options, ghc-shared-options, ghcjs-shared-options, ghc-options, ghcjs-options, jhc-options, hugs-options, nhc98-options Yet, how can I specify the parameters for build tools, like happy, in stack? Thanks in advance! Pierre -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/e2079ead-7d9d-42e8-ba1a-e1dafa59f517%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
