Skip to content

Commit 436fe32

Browse files
authored
Add explicit bounds to base everywhere (#2630)
Hackage requires this, even if the bounds could be inferred from other targets
1 parent addf2ba commit 436fe32

File tree

9 files changed

+114
-114
lines changed

9 files changed

+114
-114
lines changed

dhall-bash/dhall-bash.cabal

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ Executable dhall-to-bash
4444
Other-Modules:
4545
Paths_dhall_bash
4646
Build-Depends:
47-
base ,
48-
bytestring ,
49-
dhall ,
50-
dhall-bash ,
51-
optparse-generic >= 1.1.1 && < 1.6 ,
47+
base >= 4.11.0.0 && < 5 ,
48+
bytestring ,
49+
dhall ,
50+
dhall-bash ,
51+
optparse-generic >= 1.1.1 && < 1.6,
5252
text
5353
GHC-Options: -Wall
5454
Default-Language: Haskell2010

dhall-csv/dhall-csv.cabal

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ Executable dhall-to-csv
5757
Hs-Source-Dirs: dhall-to-csv
5858
Main-Is: Main.hs
5959
Build-Depends:
60-
ansi-terminal ,
61-
base ,
62-
bytestring ,
63-
cassava ,
64-
dhall ,
65-
dhall-csv ,
66-
optparse-applicative ,
67-
prettyprinter ,
68-
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
69-
unordered-containers ,
70-
vector ,
60+
ansi-terminal ,
61+
base >= 4.12.0.0 && < 5 ,
62+
bytestring ,
63+
cassava ,
64+
dhall ,
65+
dhall-csv ,
66+
optparse-applicative ,
67+
prettyprinter ,
68+
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2,
69+
unordered-containers ,
70+
vector ,
7171
text
7272
Other-Modules:
7373
Paths_dhall_csv
@@ -78,17 +78,17 @@ Executable csv-to-dhall
7878
Hs-Source-Dirs: csv-to-dhall
7979
Main-Is: Main.hs
8080
Build-Depends:
81-
ansi-terminal ,
82-
base ,
83-
bytestring ,
84-
cassava ,
85-
dhall ,
86-
dhall-csv ,
87-
optparse-applicative ,
88-
prettyprinter ,
89-
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
90-
unordered-containers ,
91-
vector ,
81+
ansi-terminal ,
82+
base >= 4.12.0.0 && < 5 ,
83+
bytestring ,
84+
cassava ,
85+
dhall ,
86+
dhall-csv ,
87+
optparse-applicative ,
88+
prettyprinter ,
89+
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2,
90+
unordered-containers ,
91+
vector ,
9292
text
9393
Other-Modules:
9494
Paths_dhall_csv
@@ -100,17 +100,17 @@ Test-Suite tasty
100100
Hs-Source-Dirs: tasty
101101
Main-Is: Main.hs
102102
Build-Depends:
103-
base ,
104-
bytestring ,
105-
cassava ,
106-
dhall ,
107-
dhall-csv ,
108-
filepath ,
109-
tasty < 1.6 ,
110-
tasty-silver < 3.4 ,
111-
tasty-hunit >= 0.2 ,
112-
unordered-containers ,
113-
text ,
103+
base >= 4.12.0.0 && < 5 ,
104+
bytestring ,
105+
cassava ,
106+
dhall ,
107+
dhall-csv ,
108+
filepath ,
109+
tasty < 1.6,
110+
tasty-silver < 3.4,
111+
tasty-hunit >= 0.2 ,
112+
unordered-containers ,
113+
text ,
114114
vector
115115
GHC-Options: -Wall
116116
Default-Language: Haskell2010

dhall-docs/dhall-docs.cabal

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ Executable dhall-docs
110110
Hs-Source-Dirs: dhall-docs
111111
Main-Is: Main.hs
112112
Build-Depends:
113-
base ,
114-
dhall ,
113+
base >= 4.11.0.0 && < 5,
114+
dhall ,
115115
dhall-docs
116116
Other-Modules:
117117
Paths_dhall_docs
@@ -124,10 +124,10 @@ Test-Suite doctest
124124
Main-Is: Main.hs
125125
GHC-Options: -Wall
126126
Build-Depends:
127-
base ,
128-
directory,
129-
filepath < 1.6 ,
130-
doctest >= 0.7.0
127+
base >= 4.11.0.0 && < 5 ,
128+
directory ,
129+
filepath < 1.6,
130+
doctest >= 0.7.0
131131
Other-Extensions: OverloadedStrings RecordWildCards
132132
Default-Language: Haskell2010
133133

@@ -136,12 +136,12 @@ Test-Suite tasty
136136
Hs-Source-Dirs: tasty
137137
Main-Is: Main.hs
138138
Build-Depends:
139-
base ,
140-
bytestring ,
141-
containers ,
142-
dhall ,
143-
dhall-docs ,
144-
foldl < 1.5 ,
139+
base >= 4.11.0.0 && < 5 ,
140+
bytestring ,
141+
containers ,
142+
dhall ,
143+
dhall-docs ,
144+
foldl < 1.5 ,
145145

146146
-- lucid preserves input attribute order since v2.11.0
147147
lucid >= 2.11.0 ,

dhall-json/dhall-json.cabal

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ Executable dhall-to-json
6868
Hs-Source-Dirs: dhall-to-json
6969
Main-Is: Main.hs
7070
Build-Depends:
71-
base ,
72-
aeson ,
73-
aeson-pretty >= 0.8.5 && < 0.9 ,
74-
bytestring ,
75-
dhall ,
76-
dhall-json ,
77-
optparse-applicative ,
71+
base >= 4.11.0.0 && < 5 ,
72+
aeson ,
73+
aeson-pretty >= 0.8.5 && < 0.9,
74+
bytestring ,
75+
dhall ,
76+
dhall-json ,
77+
optparse-applicative ,
7878
text
7979
Other-Modules:
8080
Paths_dhall_json
@@ -85,7 +85,7 @@ Executable dhall-to-yaml
8585
Hs-Source-Dirs: dhall-to-yaml
8686
Main-Is: Main.hs
8787
Build-Depends:
88-
base ,
88+
base >= 4.11.0.0 && < 5,
8989
dhall-json
9090
Other-Modules:
9191
Paths_dhall_json
@@ -96,7 +96,7 @@ Executable json-to-dhall
9696
Hs-Source-Dirs: json-to-dhall
9797
Main-Is: Main.hs
9898
Build-Depends:
99-
base ,
99+
base >= 4.11.0.0 && < 5 ,
100100
aeson ,
101101
ansi-terminal >= 0.6.3.1 && < 1.2 ,
102102
bytestring ,
@@ -117,14 +117,14 @@ Test-Suite tasty
117117
Hs-Source-Dirs: tasty
118118
Main-Is: Main.hs
119119
Build-Depends:
120-
base ,
121-
aeson ,
122-
bytestring ,
123-
dhall ,
124-
dhall-json ,
125-
tasty < 1.6,
126-
text ,
127-
tasty-hunit >= 0.2,
120+
base >= 4.11.0.0 && < 5 ,
121+
aeson ,
122+
bytestring ,
123+
dhall ,
124+
dhall-json ,
125+
tasty < 1.6,
126+
text ,
127+
tasty-hunit >= 0.2 ,
128128
tasty-silver >= 3.0
129129
GHC-Options: -Wall
130130
Default-Language: Haskell2010

dhall-lsp-server/dhall-lsp-server.cabal

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ executable dhall-lsp-server
7777
default-extensions: RecordWildCards OverloadedStrings
7878
ghc-options: -rtsopts
7979
build-depends:
80-
base
80+
base >= 4.11 && < 5
8181
, dhall-lsp-server
8282
, optparse-applicative
8383
default-language: Haskell2010
@@ -89,10 +89,10 @@ Test-Suite doctest
8989
Main-Is: Main.hs
9090
GHC-Options: -Wall
9191
Build-Depends:
92-
base ,
93-
directory >= 1.3.1.5 && < 1.4 ,
94-
filepath < 1.6 ,
95-
doctest >= 0.7.0 ,
92+
base >= 4.11 && < 5 ,
93+
directory >= 1.3.1.5 && < 1.4,
94+
filepath < 1.6,
95+
doctest >= 0.7.0 ,
9696
QuickCheck
9797
Other-Extensions: OverloadedStrings RecordWildCards
9898
Default-Language: Haskell2010
@@ -103,12 +103,12 @@ Test-Suite tests
103103
Main-Is: Main.hs
104104
GHC-Options: -Wall
105105
Build-Depends:
106-
base ,
107-
lsp-types >= 2.0.1 && < 2.1 ,
108-
hspec >= 2.7 && < 2.12 ,
109-
lsp-test >= 0.15.0.0 && < 0.16 ,
110-
tasty >= 0.11.2 && < 1.6 ,
111-
tasty-hspec >= 1.1 && < 1.3 ,
106+
base >= 4.11 && < 5 ,
107+
lsp-types >= 2.0.1 && < 2.1 ,
108+
hspec >= 2.7 && < 2.12,
109+
lsp-test >= 0.15.0.0 && < 0.16,
110+
tasty >= 0.11.2 && < 1.6 ,
111+
tasty-hspec >= 1.1 && < 1.3 ,
112112
text >= 0.11 && < 2.2
113113
Build-Tool-Depends: dhall-lsp-server:dhall-lsp-server
114114
Default-Language: Haskell2010

dhall-nix/dhall-nix.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Executable dhall-to-nix
4949
Other-Modules:
5050
Paths_dhall_nix
5151
Build-Depends:
52-
base ,
52+
base >= 4.11.0.0 && < 5 ,
5353
dhall ,
5454
dhall-nix ,
5555
hnix ,

dhall-openapi/dhall-openapi.cabal

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,20 @@ Executable openapi-to-dhall
3636
TupleSections
3737
Ghc-Options: -Wall
3838
Build-Depends:
39-
base ,
40-
aeson ,
41-
containers ,
42-
directory >= 1.3.0.0 && < 1.4 ,
43-
dhall ,
44-
dhall-openapi ,
45-
filepath >= 1.4 && < 1.6 ,
39+
base >= 4.11.0.0 && < 5 ,
40+
aeson ,
41+
containers ,
42+
directory >= 1.3.0.0 && < 1.4 ,
43+
dhall ,
44+
dhall-openapi ,
45+
filepath >= 1.4 && < 1.6 ,
4646
-- megaparsec follows SemVer: https://github.com/mrkkrp/megaparsec/issues/469#issuecomment-927918469
47-
megaparsec >= 7.0 && < 10 ,
48-
optparse-applicative >= 0.14.3.0 && < 0.19 ,
49-
parser-combinators ,
50-
prettyprinter ,
51-
sort ,
52-
text ,
47+
megaparsec >= 7.0 && < 10 ,
48+
optparse-applicative >= 0.14.3.0 && < 0.19,
49+
parser-combinators ,
50+
prettyprinter ,
51+
sort ,
52+
text ,
5353
vector
5454
Default-Language: Haskell2010
5555

dhall-toml/dhall-toml.cabal

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Executable dhall-to-toml
5656
Hs-Source-Dirs: dhall-to-toml
5757
Main-Is: Main.hs
5858
Build-Depends:
59-
base ,
59+
base >= 4.12 && < 5,
6060
dhall-toml
6161
GHC-Options: -Wall
6262
Default-Language: Haskell2010
@@ -65,7 +65,7 @@ Executable toml-to-dhall
6565
Hs-Source-Dirs: toml-to-dhall
6666
Main-Is: Main.hs
6767
Build-Depends:
68-
base ,
68+
base >= 4.12 && < 5,
6969
dhall-toml
7070
GHC-Options: -Wall
7171
Default-Language: Haskell2010
@@ -75,12 +75,12 @@ Test-Suite dhall-toml-test
7575
Hs-Source-Dirs: tasty
7676
Main-Is: Main.hs
7777
Build-Depends:
78-
base ,
79-
dhall ,
80-
dhall-toml ,
81-
tasty < 1.6 ,
82-
tasty-hunit >= 0.2 ,
83-
text ,
78+
base >= 4.12 && < 5 ,
79+
dhall ,
80+
dhall-toml ,
81+
tasty < 1.6,
82+
tasty-hunit >= 0.2 ,
83+
text ,
8484
tomland
8585
GHC-Options: -Wall
8686
Default-Language: Haskell2010
@@ -90,9 +90,9 @@ Test-Suite doctest
9090
Hs-Source-Dirs: doctest
9191
Main-Is: Main.hs
9292
Build-Depends:
93-
base ,
94-
directory ,
95-
filepath ,
93+
base >= 4.12 && < 5,
94+
directory ,
95+
filepath ,
9696
doctest
9797
GHC-Options: -Wall
9898
Default-Language: Haskell2010

dhall-yaml/dhall-yaml.cabal

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Executable dhall-to-yaml-ng
5151
Hs-Source-Dirs: dhall-to-yaml-ng
5252
Main-Is: Main.hs
5353
Build-Depends:
54-
base ,
55-
dhall-json,
54+
base >= 4.11.0.0 && < 5,
55+
dhall-json ,
5656
dhall-yaml
5757
Other-Modules:
5858
Paths_dhall_yaml
@@ -63,7 +63,7 @@ Executable yaml-to-dhall
6363
Hs-Source-Dirs: yaml-to-dhall
6464
Main-Is: Main.hs
6565
Build-Depends:
66-
base ,
66+
base >= 4.11.0.0 && < 5 ,
6767
aeson ,
6868
ansi-terminal >= 0.6.3.1 && < 1.2 ,
6969
bytestring ,
@@ -85,14 +85,14 @@ Test-Suite tasty
8585
Hs-Source-Dirs: tasty
8686
Main-Is: Main.hs
8787
Build-Depends:
88-
base ,
89-
bytestring ,
90-
dhall ,
91-
dhall-json ,
92-
dhall-yaml ,
93-
tasty < 1.6,
94-
tasty-expected-failure < 0.13,
95-
text ,
88+
base >= 4.11.0.0 && < 5 ,
89+
bytestring ,
90+
dhall ,
91+
dhall-json ,
92+
dhall-yaml ,
93+
tasty < 1.6 ,
94+
tasty-expected-failure < 0.13,
95+
text ,
9696
tasty-hunit >= 0.2
9797

9898
GHC-Options: -Wall

0 commit comments

Comments
 (0)