Skip to content

Commit

Permalink
Fix tests that break with latest random package and ghc 9.12.1
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 committed Jan 9, 2025
1 parent 1e7149d commit 1c55c0b
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 1c55c0b

Please sign in to comment.