Skip to content

Commit

Permalink
Restrict Cabal < 3.12 (#962)
Browse files Browse the repository at this point in the history
Cabal 3.12 uses `SymbolicPathX`, but it is not exported from the library, and thus, we cannot use it.
  • Loading branch information
toku-sa-n authored Sep 26, 2024
1 parent 934d8c9 commit 8053387
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions hindent.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ library
src
ghc-options: -Wall -O2 -threaded
build-depends:
Cabal
Cabal <3.12
, async >=2.2.5
, base >=4.7 && <5
, bytestring
Expand Down Expand Up @@ -187,7 +187,7 @@ library hindent-internal
internal
ghc-options: -Wall -O2 -threaded
build-depends:
Cabal
Cabal <3.12
, async >=2.2.5
, base >=4.7 && <5
, bytestring
Expand Down Expand Up @@ -222,7 +222,7 @@ executable hindent
app
ghc-options: -Wall -O2 -threaded
build-depends:
Cabal
Cabal <3.12
, async >=2.2.5
, base >=4.7 && <5
, bytestring
Expand Down Expand Up @@ -258,7 +258,7 @@ test-suite hindent-test
tests
ghc-options: -Wall -O2 -threaded
build-depends:
Cabal
Cabal <3.12
, Diff
, async >=2.2.5
, base >=4.7 && <5
Expand Down Expand Up @@ -297,7 +297,7 @@ benchmark hindent-bench
benchmarks
ghc-options: -Wall -O2 -threaded
build-depends:
Cabal
Cabal <3.12
, async >=2.2.5
, base >=4.7 && <5
, bytestring
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ github: mihaimaruseac/hindent
ghc-options: -Wall -O2 -threaded

dependencies:
- Cabal
- Cabal < 3.12
- async >= 2.2.5
- base >= 4.7 && < 5
- bytestring
Expand Down

0 comments on commit 8053387

Please sign in to comment.