Skip to content

Commit 9afffae

Browse files
authored
Update cabal version to 1.10 (#1778)
Hackage is starting to reject Haskell packages that have a `Cabal-Version` with a minimum bound less than 1.10, which this change fixes.
1 parent 0f019c5 commit 9afffae

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

dhall-bash/dhall-bash.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: dhall-bash
22
Version: 1.0.30
3-
Cabal-Version: >=1.8.0.2
3+
Cabal-Version: >=1.10
44
Build-Type: Simple
55
Tested-With: GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
66
License: BSD3
@@ -37,6 +37,7 @@ Library
3737
text >= 0.2 && < 1.3
3838
Exposed-Modules: Dhall.Bash
3939
GHC-Options: -Wall
40+
Default-Language: Haskell2010
4041

4142
Executable dhall-to-bash
4243
Hs-Source-Dirs: exec
@@ -51,3 +52,4 @@ Executable dhall-to-bash
5152
optparse-generic >= 1.1.1 && < 1.4 ,
5253
text
5354
GHC-Options: -Wall
55+
Default-Language: Haskell2010

dhall-json/dhall-json.cabal

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: dhall-json
2-
Version: 1.6.3
3-
Cabal-Version: >=1.8.0.2
2+
Version: 1.6.4
3+
Cabal-Version: >=1.10
44
Build-Type: Simple
55
Tested-With: GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
66
License: BSD3
@@ -58,6 +58,7 @@ Library
5858
Other-Modules:
5959
Dhall.JSON.Util
6060
GHC-Options: -Wall
61+
Default-Language: Haskell2010
6162

6263
Executable dhall-to-json
6364
Hs-Source-Dirs: dhall-to-json
@@ -74,6 +75,7 @@ Executable dhall-to-json
7475
Other-Modules:
7576
Paths_dhall_json
7677
GHC-Options: -Wall
78+
Default-Language: Haskell2010
7779

7880
Executable dhall-to-yaml
7981
Hs-Source-Dirs: dhall-to-yaml
@@ -84,6 +86,7 @@ Executable dhall-to-yaml
8486
Other-Modules:
8587
Paths_dhall_json
8688
GHC-Options: -Wall
89+
Default-Language: Haskell2010
8790

8891
Executable json-to-dhall
8992
Hs-Source-Dirs: json-to-dhall
@@ -105,6 +108,7 @@ Executable json-to-dhall
105108
Other-Modules:
106109
Paths_dhall_json
107110
GHC-Options: -Wall
111+
Default-Language: Haskell2010
108112

109113
Test-Suite tasty
110114
Type: exitcode-stdio-1.0
@@ -120,3 +124,4 @@ Test-Suite tasty
120124
text ,
121125
tasty-hunit >= 0.2
122126
GHC-Options: -Wall
127+
Default-Language: Haskell2010

dhall-nix/dhall-nix.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: dhall-nix
22
Version: 1.1.14
3-
Cabal-Version: >=1.8.0.2
3+
Cabal-Version: >=1.10
44
Build-Type: Simple
55
Tested-With: GHC == 8.0.1
66
License: BSD3
@@ -38,6 +38,7 @@ Library
3838
Exposed-Modules:
3939
Dhall.Nix
4040
GHC-Options: -Wall
41+
Default-Language: Haskell2010
4142
if os(windows) || impl(eta)
4243
Buildable: False
4344

@@ -56,5 +57,6 @@ Executable dhall-to-nix
5657
optparse-generic >= 1.1.1 && < 1.4,
5758
text
5859
GHC-Options: -Wall
60+
Default-Language: Haskell2010
5961
if os(windows)
6062
Buildable: False

dhall-yaml/dhall-yaml.cabal

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: dhall-yaml
2-
Version: 1.0.3
3-
Cabal-Version: >=1.8.0.2
2+
Version: 1.1.0
3+
Cabal-Version: >=1.10
44
Build-Type: Simple
55
Tested-With: GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
66
License: GPL-3
@@ -46,6 +46,7 @@ Library
4646
Dhall.Yaml
4747
Dhall.YamlToDhall
4848
GHC-Options: -Wall
49+
Default-Language: Haskell2010
4950

5051
Executable dhall-to-yaml-ng
5152
Hs-Source-Dirs: dhall-to-yaml-ng
@@ -57,6 +58,7 @@ Executable dhall-to-yaml-ng
5758
Other-Modules:
5859
Paths_dhall_yaml
5960
GHC-Options: -Wall
61+
Default-Language: Haskell2010
6062

6163
Executable yaml-to-dhall
6264
Hs-Source-Dirs: yaml-to-dhall
@@ -79,6 +81,7 @@ Executable yaml-to-dhall
7981
Other-Modules:
8082
Paths_dhall_yaml
8183
GHC-Options: -Wall
84+
Default-Language: Haskell2010
8285

8386
Test-Suite tasty
8487
Type: exitcode-stdio-1.0
@@ -95,3 +98,4 @@ Test-Suite tasty
9598
text ,
9699
tasty-hunit >= 0.2
97100
GHC-Options: -Wall
101+
Default-Language: Haskell2010

0 commit comments

Comments
 (0)