Skip to content

Commit

Permalink
Update lower bounds
Browse files Browse the repository at this point in the history
This commit updates the following lower bounds:

  template-haskell: 2.16 -> 2.17
  base: 4.14 -> 4.15

This ensures we don't try to build time >= 1.14 with GHC 8.10 or below,
which is not supported:

  lib\Data\Time\Clock\Internal\DiffTime.hs:83:18: error:
  Error:     Not in scope: type constructor or class ‘TH.Quote’

  lib\Data\Time\Clock\Internal\DiffTime.hs:83:44: error:
  Error:     Not in scope: type constructor or class ‘TH.Code’
  • Loading branch information
sheaf committed Apr 16, 2024
1 parent e5c5d19 commit da41f19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest]
ghc: ['9.8.2', '9.6.4', '9.4.8']
ghc: ['9.8.2', '9.6.4', '9.4.8', '9.2', '9.0']
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
Expand Down
4 changes: 2 additions & 2 deletions time.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ library
ghc-options: -Wall -fwarn-tabs
c-sources: lib/cbits/HsTime.c
build-depends:
base >= 4.14 && < 5,
base >= 4.15 && < 5,
deepseq >= 1.1,
template-haskell >= 2.16,
template-haskell >= 2.17,
if os(windows)
build-depends: Win32
exposed-modules:
Expand Down

0 comments on commit da41f19

Please sign in to comment.