Skip to content

Commit c11f32b

Browse files
authored
Bump stack configs + CI to 9.6.5 and 9.8.2 (#4316)
1 parent 597da9d commit c11f32b

7 files changed

+95
-94
lines changed

.circleci/config.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ defaults: &defaults
5858

5959
version: 2
6060
jobs:
61-
stackage-lts21:
61+
stackage-lts22:
6262
docker:
63-
- image: haskell:9.4.8-slim-buster
63+
- image: haskell:9.6.5-slim-buster
6464
environment:
65-
- STACK_FILE: "stack-lts21.yaml"
65+
- STACK_FILE: "stack-lts22.yaml"
6666
<<: *defaults
6767

6868
stackage-nightly:
6969
docker:
70-
- image: haskell:9.6.4-slim-buster
70+
- image: haskell:9.8.2-slim-buster
7171
environment:
7272
- STACK_FILE: "stack.yaml"
7373
<<: *defaults
@@ -76,5 +76,5 @@ workflows:
7676
version: 2
7777
multiple-ghcs:
7878
jobs:
79-
- stackage-lts21
79+
- stackage-lts22
8080
- stackage-nightly

ghcide/ghcide.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ library
6262
, deepseq
6363
, dependent-map
6464
, dependent-sum
65-
, Diff ^>=0.4.0
65+
, Diff ^>=0.5
6666
, directory
6767
, dlist
6868
, enummapset

haskell-language-server.cabal

+1-6
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ library hls-cabal-plugin
263263
, lsp-types ^>=2.3
264264
, regex-tdfa ^>=1.3.1
265265
, text
266-
, text-rope
267266
, transformers
268267
, unordered-containers >=0.2.10.0
269268
, containers
@@ -455,7 +454,7 @@ library hls-eval-plugin
455454
, bytestring
456455
, containers
457456
, deepseq
458-
, Diff ^>=0.4.0
457+
, Diff ^>=0.5
459458
, dlist
460459
, extra
461460
, filepath
@@ -584,7 +583,6 @@ library hls-rename-plugin
584583
, hls-plugin-api == 2.8.0.0
585584
, haskell-language-server:hls-refactor-plugin
586585
, lens
587-
, lsp
588586
, lsp-types
589587
, mtl
590588
, mod
@@ -638,7 +636,6 @@ library hls-retrie-plugin
638636
, base >=4.12 && <5
639637
, bytestring
640638
, containers
641-
, directory
642639
, extra
643640
, ghc
644641
, ghcide == 2.8.0.0
@@ -655,7 +652,6 @@ library hls-retrie-plugin
655652
, text
656653
, transformers
657654
, unordered-containers
658-
, filepath
659655

660656
default-extensions:
661657
DataKinds
@@ -845,7 +841,6 @@ library hls-module-name-plugin
845841
, aeson
846842
, base >=4.12 && <5
847843
, containers
848-
, directory
849844
, filepath
850845
, ghcide == 2.8.0.0
851846
, hls-plugin-api == 2.8.0.0

hls-plugin-api/hls-plugin-api.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ library
6060
, data-default
6161
, dependent-map
6262
, dependent-sum >=0.7
63-
, Diff ^>=0.4.0
63+
, Diff ^>=0.5
6464
, dlist
6565
, extra
6666
, filepath

stack-lts21.yaml

-58
This file was deleted.

stack-lts22.yaml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
resolver: lts-22.25 # ghc-9.6.5
2+
3+
packages:
4+
- .
5+
- ./hie-compat
6+
- ./hls-graph
7+
- ./ghcide/
8+
- ./hls-plugin-api
9+
- ./hls-test-utils
10+
# - ./shake-bench
11+
12+
ghc-options:
13+
"$everything": -haddock
14+
15+
allow-newer: true
16+
allow-newer-deps:
17+
- extensions
18+
19+
extra-deps:
20+
- Diff-0.5
21+
- floskell-0.11.1
22+
- hiedb-0.6.0.1
23+
- hie-bios-0.14.0
24+
- implicit-hie-0.1.4.0
25+
- lsp-2.7.0.0
26+
- lsp-test-0.17.1.0
27+
- lsp-types-2.3.0.0
28+
- monad-dijkstra-0.1.1.4 # 5
29+
- retrie-1.2.3
30+
31+
# stan and friends
32+
- stan-0.1.3.0
33+
- dir-traverse-0.2.3.0
34+
- extensions-0.1.0.1
35+
- tomland-1.3.3.2
36+
- trial-0.0.0.0
37+
- trial-optparse-applicative-0.0.0.0
38+
- trial-tomland-0.0.0.0
39+
- validation-selective-0.2.0.0
40+
41+
configure-options:
42+
ghcide:
43+
- --disable-library-for-ghci
44+
haskell-language-server:
45+
- --disable-library-for-ghci
46+
47+
flags:
48+
haskell-language-server:
49+
pedantic: true
50+
stylish-haskell:
51+
ghc-lib: true
52+
retrie:
53+
BuildExecutable: false
54+
55+
nix:
56+
packages: [icu libcxx zlib]
57+
58+
concurrent-tests: false

stack.yaml

+29-23
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-22.9 # ghc-9.6.4
1+
resolver: nightly-2024-06-12 # ghc-9.8.2
22

33
packages:
44
- .
@@ -13,41 +13,47 @@ ghc-options:
1313
"$everything": -haddock
1414

1515
allow-newer: true
16+
allow-newer-deps:
17+
- extensions
18+
- hw-fingertree
19+
- retrie
1620

1721
extra-deps:
18-
- floskell-0.11.1
19-
- retrie-1.2.2
20-
- hiedb-0.6.0.0
21-
- hie-bios-0.14.0
22-
- implicit-hie-0.1.4.0
23-
- lsp-2.7.0.0
24-
- lsp-test-0.17.1.0
25-
- lsp-types-2.3.0.0
26-
- monad-dijkstra-0.1.1.4
27-
28-
# stan and friends
29-
- stan-0.1.2.0
30-
- dir-traverse-0.2.3.0
31-
- extensions-0.1.0.1
32-
- tomland-1.3.3.2
33-
- trial-0.0.0.0
34-
- trial-optparse-applicative-0.0.0.0
35-
- trial-tomland-0.0.0.0
36-
- validation-selective-0.2.0.0
22+
- floskell-0.11.1
23+
- hiedb-0.6.0.1
24+
- hie-bios-0.14.0
25+
- implicit-hie-0.1.4.0
26+
- hw-fingertree-0.1.2.1
27+
- lsp-2.7.0.0
28+
- lsp-test-0.17.1.0
29+
- lsp-types-2.3.0.0
30+
- monad-dijkstra-0.1.1.5
31+
- stylish-haskell-0.14.6.0
32+
- retrie-1.2.3
33+
34+
# stan dependencies not found in the stackage snapshot
35+
- stan-0.1.3.0
36+
- dir-traverse-0.2.3.0
37+
- extensions-0.1.0.1
38+
- trial-0.0.0.0
39+
- trial-optparse-applicative-0.0.0.0
40+
- trial-tomland-0.0.0.0
3741

3842
configure-options:
3943
ghcide:
40-
- --disable-library-for-ghci
44+
- --disable-library-for-ghci
4145
haskell-language-server:
42-
- --disable-library-for-ghci
46+
- --disable-library-for-ghci
4347

4448
flags:
4549
haskell-language-server:
4650
pedantic: true
51+
stylish-haskell:
52+
ghc-lib: true
4753
retrie:
4854
BuildExecutable: false
4955

5056
nix:
51-
packages: [ icu libcxx zlib ]
57+
packages: [icu libcxx zlib]
5258

5359
concurrent-tests: false

0 commit comments

Comments
 (0)