From 80533873fcfcd8ab8dc98256e4b42d7fa452c75b Mon Sep 17 00:00:00 2001 From: Hiroki Tokunaga Date: Thu, 26 Sep 2024 20:23:18 +0900 Subject: [PATCH] Restrict `Cabal < 3.12` (#962) Cabal 3.12 uses `SymbolicPathX`, but it is not exported from the library, and thus, we cannot use it. --- hindent.cabal | 10 +++++----- package.yaml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hindent.cabal b/hindent.cabal index e5e33769b..cc529c457 100644 --- a/hindent.cabal +++ b/hindent.cabal @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/package.yaml b/package.yaml index f6c73b68c..406b637b2 100644 --- a/package.yaml +++ b/package.yaml @@ -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