Skip to content

Commit b809499

Browse files
committed
Don't warn on mhs-options (fixes #11341)
1 parent 7af1389 commit b809499

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-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

0 commit comments

Comments
 (0)