Thanks. But where is this Cabal-syntax directory? How do I "bump the cabal version"?I'm only trying to build GHC! I wasn't intending to modify cabal.SimonOn Sun, 15 Mar 2026 at 17:26, Brandon Allbery <allbery.b@gmail.com> wrote:It goes in `Cabal-syntax/src/Language/Haskell/Extensions.hs`, in `data KnownExtension`. The parse table is built from the constructor names, and `No` prefixes are handled automatically. Note that you'll need to also bump the `cabal-version` (file format version) and add an entry to the file format documentation (`doc/file-format-changelog.rst`).On Sun, Mar 15, 2026 at 1:18 PM Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> wrote:_______________________________________________FriendsAs part of the reinstallable base project I'm adding an extension "ImplicitKnownKeyNames" to GHC. But if I put "NoImplicitKnownKeyNames" in base.cabal.in I get the errorWarning: [unknown-extension] Unknown extensions: NoImplicitKnownKeyNameswhen building the base library. I think this comes from cabal.How can I tell cabal about the new extension?
ThanksSimon
ghc-devs mailing list -- ghc-devs@haskell.org
To unsubscribe send an email to ghc-devs-leave@haskell.org
--brandon s allbery kf8nh