Skip to content

Support ghc 9.12 #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ["8.10", "9.0", "9.2", "9.4", "9.6", "9.8", "9.10"]
ghc: ["8.10", "9.0", "9.2", "9.4", "9.6", "9.8", "9.10", "9.12"]
steps:
- uses: actions/checkout@v4
- name: "Setup haskell"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for nothunks

## 0.3.1 -- 2025-01-06

* Make it build with ghc-9.12.

## 0.3.0 -- 2024-08-13

* Include _both_ `Context` _and_ `Info` in `ThunkInfo` (#54)
Expand Down
6 changes: 6 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ package nothunks
tests: True

test-show-details: direct

if impl (ghc >= 9.12)
allow-newer:
, filepath:template-haskell
, hedgehog:template-haskell
, text:template-haskell
8 changes: 4 additions & 4 deletions nothunks.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: nothunks
version: 0.3.0.0
version: 0.3.1
synopsis: Examine values for unexpected thunks
description: Long lived application data typically should not contain
any thunks. This library can be used to examine values for
Expand Down Expand Up @@ -43,13 +43,13 @@ library
build-depends: base >= 4.12 && < 5
, containers >= 0.5 && < 0.8
, stm >= 2.5 && < 2.6
, time >= 1.5 && < 1.13
, time >= 1.5 && < 1.15

-- Whatever is bundled with ghc
, ghc-heap

if impl(ghc >= 9.2)
build-depends: wherefrom-compat ^>= 0.1.1
build-depends: wherefrom-compat ^>= 0.2

if flag(bytestring)
build-depends: bytestring >= 0.10 && < 0.13
Expand Down Expand Up @@ -80,7 +80,7 @@ test-suite nothunks-test
, ghc-prim

-- Additional dependencies
, hedgehog >= 1.1 && < 1.5
, hedgehog >= 1.1 && < 1.6
, random >= 1.1 && < 1.3
, tasty >= 1.3 && < 1.6
, tasty-hedgehog >= 1.1 && < 1.5
Expand Down
Loading