Skip to content

Commit b5dbe29

Browse files
authored
Fix tests that break with latest random package and ghc 9.12.1 (#2303)
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.
1 parent 9eafe0a commit b5dbe29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cabal.project.local

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if impl(ghc>=9.12.1)
33
-- being shipped with a newer compiler. If you extend this
44
-- be very careful to only extend it for absolutely necessary packages
55
-- otherwise we risk running into broken build-plans down the line.
6-
allow-newer: *:base, *:template-haskell, *:ghc-prim
6+
allow-newer: *:base, *:template-haskell, *:ghc-prim, uuid-types:random, QuickCheck:random, cabal-install:random
77

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

0 commit comments

Comments
 (0)