Skip to content

Commit

Permalink
fiddle with happy bounds again (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne-fletcher authored Nov 7, 2024
1 parent 2ca3e31 commit e9e2104
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ data DaFlavor = DaFlavor

-- Last tested gitlab.haskell.org/ghc/ghc.git at
current :: String
current = "c08b68bc7ab947843d20621eb483a0fc3c42703a" -- 2024-10-12
current = "573cad4bd9e7fc146581d9711d36c4e3bacbb6e9" -- 2024-11-03

ghcFlavorOpt :: GhcFlavor -> String
ghcFlavorOpt = \case
Expand Down
2 changes: 1 addition & 1 deletion ghc-lib-gen.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ executable ghc-lib-gen
executable ghc-lib-build-tool
import: base
if impl (ghc > 9.12.0)
build-tool-depends: alex:alex, happy:happy == 1.20.* || >= 2.0.2 && < 2.1
build-tool-depends: alex:alex, happy:happy == 1.20.* || == 2.0.2 || >= 2.1.2 && < 2.2
else
build-tool-depends: alex:alex, happy:happy < 2.0
build-depends:
Expand Down
2 changes: 1 addition & 1 deletion ghc-lib-gen/src/Ghclibgen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ libBinParserLibModules ghcFlavor = do
happyBounds :: GhcFlavor -> String
happyBounds ghcFlavor
| series < GHC_9_8 = "== 1.20.*"
| otherwise = "== 1.20.* || >= 2.0.2 && < 2.1" -- c.f. m4/fptools_happy.m4
| otherwise = "== 1.20.* || == 2.0.2 || >= 2.1.2 && < 2.2" -- c.f. m4/fptools_happy.m4
where
series = ghcSeries ghcFlavor

Expand Down

0 comments on commit e9e2104

Please sign in to comment.