Skip to content

Commit

Permalink
Add --allow-newer for nightly GHC build
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonchinn178 committed Sep 9, 2023
1 parent 85a162d commit 416f313
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ghc-compat-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ jobs:
curl -fsSL -o /tmp/head.hackage.sh https://gitlab.haskell.org/ghc/head.hackage/-/raw/master/scripts/head.hackage.sh
bash /tmp/head.hackage.sh dump-repo >> cabal.project.local
cabal update
# https://gitlab.haskell.org/ghc/head.hackage/-/blob/90570e1c4606c1d7d3d41797ec1b32d1b984067b/ci/MakeConstraints.hs#L40-49
cabal configure --enable-append \
--allow-newer=base \
--allow-newer=template-haskell \
--allow-newer=ghc \
--allow-newer=ghc-prim \
--allow-newer=integer-gmp \
--allow-newer=ghc-bignum \
--allow-newer=time \
--allow-newer=binary \
--allow-newer=bytestring \
--allow-newer=Cabal \
--allow-newer=deepseq \
--allow-newer=text
-
name: Get build plan
run: cabal build --dry-run
Expand Down

0 comments on commit 416f313

Please sign in to comment.