Skip to content

Commit ec10df6

Browse files
committed
Don't warn on mhs-options (fixes #11341)
1 parent 8656465 commit ec10df6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,8 @@ optionsFieldGrammar =
717717
<* knownField "jhc-options"
718718
<* knownField "hugs-options"
719719
<* knownField "nhc98-options"
720+
-- NOTE: These are used by MicroCabal for MicroHs
721+
<* knownField "mhs-options"
720722
where
721723
extract :: CompilerFlavor -> ALens' BuildInfo [String]
722724
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)