Skip to content

Commit

Permalink
Avoid base-orphans that does not work with ghc HEAD (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack authored Dec 9, 2024
1 parent 6742e78 commit e5f2f9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/cabal.project.local
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ if impl(ghc>=9.10.1)
-- 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, *:bytestring, *:text, *:ghc-prim, *:deepseq, *:Cabal

if impl(ghc > 9.11)
allow-newer: *:containers, *:time
constraints: base-compat >=0.14.0, aeson >=2.2.1.0
-- From https://ghc.gitlab.haskell.org/head.hackage/cabal.constraints
constraints: extra ==1.7.14

if impl(ghc >9.13)
constraints: base-orphans <0.9.3 || >0.9.3

-- This prevents hsc2hs from causing old versions of packages from being added to plan.json
allow-newer: hsc2hs:*

Expand Down

0 comments on commit e5f2f9b

Please sign in to comment.