Skip to content

Commit acfcdfb

Browse files
solgeekosaur
authored andcommitted
Don't warn on mhs-options (fixes #11341)
1 parent 4f927a1 commit acfcdfb

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Cabal-syntax/src/Distribution/PackageDescription/FieldGrammar.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,8 @@ optionsFieldGrammar =
726726
<* knownField "jhc-options"
727727
<* knownField "hugs-options"
728728
<* knownField "nhc98-options"
729+
-- NOTE: These are used by MicroCabal for MicroHs
730+
<* knownField "mhs-options"
729731
where
730732
extract :: CompilerFlavor -> ALens' BuildInfo [String]
731733
extract flavor = L.options . lookupLens flavor

changelog.d/pr-11344

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
synopsis: Don't warn on mhs-options
2+
packages: Cabal-syntax
3+
issues: #11341
4+
prs: #11344

0 commit comments

Comments
 (0)