Skip to content

Commit

Permalink
update base bounds for desupported ghc 8.2
Browse files Browse the repository at this point in the history
(cherry picked from commit c2c914a)

# Conflicts:
#	Cabal-hooks/Cabal-hooks.cabal
#	Cabal-tests/Cabal-tests.cabal
#	cabal-install-solver/cabal-install-solver.cabal
#	cabal-testsuite/cabal-testsuite.cabal
  • Loading branch information
geekosaur authored and Mikolaj committed May 10, 2024
1 parent debbb78 commit 5b4d226
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 9 deletions.
69 changes: 69 additions & 0 deletions Cabal-hooks/Cabal-hooks.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
cabal-version: 2.2
name: Cabal-hooks
version: 0.1
copyright: 2023, Cabal Development Team
license: BSD-3-Clause
license-file: LICENSE
author: Cabal Development Team <cabal-devel@haskell.org>
maintainer: cabal-devel@haskell.org
homepage: http://www.haskell.org/cabal/
bug-reports: https://github.com/haskell/cabal/issues
synopsis: API for the Hooks build-type
description:
User-facing API for the Hooks build-type.
category: Distribution
build-type: Simple

extra-source-files:
readme.md changelog.md

source-repository head
type: git
location: https://github.com/haskell/cabal/
subdir: Cabal-hooks

library
default-language: Haskell2010
hs-source-dirs: src

build-depends:
Cabal-syntax >= 3.13 && < 3.15,
Cabal >= 3.13 && < 3.15,
base >= 4.11 && < 5,
containers >= 0.5.0.0 && < 0.8,
filepath >= 1.3.0.1 && < 1.5,
transformers >= 0.5.6.0 && < 0.7

ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates

exposed-modules:
Distribution.Simple.SetupHooks

other-extensions:
BangPatterns
CPP
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
ExistentialQuantification
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImplicitParams
KindSignatures
LambdaCase
NondecreasingIndentation
OverloadedStrings
PatternSynonyms
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
Trustworthy
TypeFamilies
TypeOperators
TypeSynonymInstances
UndecidableInstances
2 changes: 1 addition & 1 deletion Cabal-syntax/Cabal-syntax.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ library

build-depends:
array >= 0.4.0.1 && < 0.6,
base >= 4.9 && < 5,
base >= 4.11 && < 5,
binary >= 0.7 && < 0.9,
bytestring >= 0.10.0.0 && < 0.13,
containers >= 0.5.0.0 && < 0.8,
Expand Down
2 changes: 1 addition & 1 deletion Cabal-tests/Cabal-tests.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test-suite unit-tests
build-depends:
array
, async >=2.2.2 && <2.3
, base >=4.9 && <5
, base >=4.11 && <5
, binary
, bytestring
, Cabal
Expand Down
2 changes: 1 addition & 1 deletion Cabal/Cabal.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ library
build-depends:
Cabal-syntax ^>= 3.12,
array >= 0.4.0.1 && < 0.6,
base >= 4.9 && < 5,
base >= 4.11 && < 5,
bytestring >= 0.10.0.0 && < 0.13,
containers >= 0.5.0.0 && < 0.8,
deepseq >= 1.3.0.1 && < 1.6,
Expand Down
4 changes: 2 additions & 2 deletions cabal-dev-scripts/cabal-dev-scripts.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ executable gen-spdx
ghc-options: -Wall
build-depends:
, aeson ^>=1.4.1.0 || ^>=1.5.2.0 || ^>=2.2.1.0
, base >=4.10 && <4.20
, base >=4.11 && <4.20
, bytestring
, containers
, Diff ^>=0.4
Expand All @@ -35,7 +35,7 @@ executable gen-spdx-exc
ghc-options: -Wall
build-depends:
, aeson ^>=1.4.1.0 || ^>=1.5.2.0 || ^>=2.2.1.0
, base >=4.10 && <4.20
, base >=4.11 && <4.20
, bytestring
, containers
, Diff ^>=0.4
Expand Down
4 changes: 2 additions & 2 deletions cabal-install-solver/cabal-install-solver.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ library

build-depends:
, array >=0.4 && <0.6
, base >=4.10 && <4.20
, base >=4.11 && <4.20
, bytestring >=0.10.6.0 && <0.13
, Cabal ^>=3.12
, Cabal-syntax ^>=3.12
Expand Down Expand Up @@ -134,7 +134,7 @@ Test-Suite unit-tests
UnitTests.Distribution.Solver.Modular.MessageUtils

build-depends:
, base >= 4.10 && <4.20
, base >= 4.11 && <4.20
, Cabal
, Cabal-syntax
, cabal-install-solver
Expand Down
2 changes: 1 addition & 1 deletion cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ common warnings
ghc-options: -Wunused-packages

common base-dep
build-depends: base >=4.10 && <4.20
build-depends: base >=4.11 && <4.20

common cabal-dep
build-depends: Cabal ^>=3.12
Expand Down
2 changes: 1 addition & 1 deletion cabal-testsuite/cabal-testsuite.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ common shared
default-language: Haskell2010

build-depends:
, base >= 4.9 && <4.20
, base >= 4.11 && < 4.20
-- this needs to match the in-tree lib:Cabal version
, Cabal ^>= 3.12.0.0
, Cabal-syntax ^>= 3.12.0.0
Expand Down

0 comments on commit 5b4d226

Please sign in to comment.