Skip to content

Commit

Permalink
Fix tests that break with latest random package and ghc 9.12.1 (#2303)
Browse files Browse the repository at this point in the history
Without this fix the cabal planner chooses a plan that while valid based on the constraints, uses old versions of some packages that fail to build.
  • Loading branch information
hamishmack authored Jan 11, 2025
1 parent 9eafe0a commit b5dbe29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cabal.project.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if impl(ghc>=9.12.1)
-- being shipped with a newer compiler. If you extend this
-- be very careful to only extend it for absolutely necessary packages
-- otherwise we risk running into broken build-plans down the line.
allow-newer: *:base, *:template-haskell, *:ghc-prim
allow-newer: *:base, *:template-haskell, *:ghc-prim, uuid-types:random, QuickCheck:random, cabal-install:random

if impl(ghc > 9.13)
allow-newer: *:containers, *:time, *:ghc-bignum
Expand Down

0 comments on commit b5dbe29

Please sign in to comment.