File tree 21 files changed +156
-54
lines changed
hls-call-hierarchy-plugin
hls-explicit-imports-plugin
21 files changed +156
-54
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,6 @@ source-repository-package
39
39
tag: b6245884ae83e00dd2b5261762549b37390179f8
40
40
-- https://github.com/lspitzner/czipwith/pull/2
41
41
42
- source-repository-package
43
- type: git
44
- location: https://github.com/hsyl20/ghc-api-compat
45
- tag: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
46
-
47
42
source-repository-package
48
43
type: git
49
44
location: https://github.com/anka-213/th-extras
@@ -66,7 +61,7 @@ source-repository-package
66
61
67
62
write-ghc-environment-files: never
68
63
69
- index-state: 2021-08-30T20:52:40Z
64
+ index-state: 2021-09-06T12:12:22Z
70
65
71
66
constraints:
72
67
-- These plugins doesn't work on GHC9 yet
Original file line number Diff line number Diff line change @@ -31,20 +31,13 @@ package *
31
31
ghc-options : -haddock
32
32
test-show-details : direct
33
33
34
- -- see https://gitlab.haskell.org/haskell/ghc-api-compat/-/issues/1#note_371055
35
- source-repository-package
36
- type : git
37
- location : https://github.com/hsyl20/ghc-api-compat
38
- tag : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
39
-
40
34
write-ghc-environment-files : never
41
35
42
- index-state : 2021-08-12T12:00 :38Z
36
+ index-state : 2021-09-06T12:12 :22Z
43
37
44
38
constraints :
45
39
hyphenation +embed
46
40
47
-
48
41
allow-newer :
49
42
-- for shake-bench
50
43
Chart-diagrams :diagrams-core,
Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ library
99
99
ghc >= 8.6 ,
100
100
ghc-check >= 0.5.0.4 ,
101
101
ghc-paths,
102
- ghc-api-compat,
103
102
cryptohash-sha1 >= 0.11.100 && < 0.12 ,
104
103
hie-bios >= 0.7.1 && < 0.9.0 ,
105
104
implicit-hie-cradle >= 0.3.0.5 && < 0.4 ,
@@ -111,6 +110,22 @@ library
111
110
build-depends :
112
111
unix
113
112
113
+ if impl(ghc < 8.10.5 )
114
+ build-depends :
115
+ ghc-api-compat == 8.6
116
+ elif impl(ghc == 8.10.5 )
117
+ build-depends :
118
+ ghc-api-compat == 8.10.5
119
+ elif impl(ghc == 8.10.6 )
120
+ build-depends :
121
+ ghc-api-compat == 8.10.6
122
+ elif impl(ghc == 8.10.7 )
123
+ build-depends :
124
+ ghc-api-compat == 8.10.7
125
+ elif impl(ghc == 9.0.1 )
126
+ build-depends :
127
+ ghc-api-compat == 9.0.1
128
+
114
129
default-extensions :
115
130
ApplicativeDo
116
131
BangPatterns
Original file line number Diff line number Diff line change @@ -338,7 +338,6 @@ executable haskell-language-server
338
338
, cryptohash-sha1
339
339
, deepseq
340
340
, ghc
341
- , ghc-api-compat
342
341
, ghc-boot-th
343
342
, ghcide
344
343
, hashable
@@ -361,6 +360,22 @@ executable haskell-language-server
361
360
, transformers
362
361
, unordered-containers
363
362
363
+ if impl(ghc < 8.10.5 )
364
+ build-depends :
365
+ ghc-api-compat == 8.6
366
+ elif impl(ghc == 8.10.5 )
367
+ build-depends :
368
+ ghc-api-compat == 8.10.5
369
+ elif impl(ghc == 8.10.6 )
370
+ build-depends :
371
+ ghc-api-compat == 8.10.6
372
+ elif impl(ghc == 8.10.7 )
373
+ build-depends :
374
+ ghc-api-compat == 8.10.7
375
+ elif impl(ghc == 9.0.1 )
376
+ build-depends :
377
+ ghc-api-compat == 9.0.1
378
+
364
379
default-language : Haskell2010
365
380
default-extensions : DataKinds, TypeOperators
366
381
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ library
44
44
, Diff ^>= 0.4.0
45
45
, dlist
46
46
, ghc
47
- , ghc-api-compat
48
47
, hashable
49
48
, hls-graph ^>= 1.4
50
49
, hslogger
@@ -57,6 +56,22 @@ library
57
56
, text
58
57
, unordered-containers
59
58
59
+ if impl(ghc < 8.10.5 )
60
+ build-depends :
61
+ ghc-api-compat == 8.6
62
+ elif impl(ghc == 8.10.5 )
63
+ build-depends :
64
+ ghc-api-compat == 8.10.5
65
+ elif impl(ghc == 8.10.6 )
66
+ build-depends :
67
+ ghc-api-compat == 8.10.6
68
+ elif impl(ghc == 8.10.7 )
69
+ build-depends :
70
+ ghc-api-compat == 8.10.7
71
+ elif impl(ghc == 9.0.1 )
72
+ build-depends :
73
+ ghc-api-compat == 9.0.1
74
+
60
75
if os(windows)
61
76
build-depends : Win32
62
77
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ library
27
27
, containers
28
28
, extra
29
29
, ghc
30
- , ghc-api-compat
31
30
, ghcide ^>= 1.4.1
32
31
, hiedb
33
32
, hls-plugin-api ^>= 1.2
@@ -40,6 +39,22 @@ library
40
39
default-language : Haskell2010
41
40
default-extensions : DataKinds
42
41
42
+ if impl(ghc < 8.10.5 )
43
+ build-depends :
44
+ ghc-api-compat == 8.6
45
+ elif impl(ghc == 8.10.5 )
46
+ build-depends :
47
+ ghc-api-compat == 8.10.5
48
+ elif impl(ghc == 8.10.6 )
49
+ build-depends :
50
+ ghc-api-compat == 8.10.6
51
+ elif impl(ghc == 8.10.7 )
52
+ build-depends :
53
+ ghc-api-compat == 8.10.7
54
+ elif impl(ghc == 9.0.1 )
55
+ build-depends :
56
+ ghc-api-compat == 9.0.1
57
+
43
58
test-suite tests
44
59
type : exitcode-stdio-1.0
45
60
default-language : Haskell2010
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ library
28
28
, base >= 4.12 && < 5
29
29
, containers
30
30
, ghc
31
- , ghc-api-compat
32
31
, ghc-exactprint
33
32
, ghcide >= 1.2 && < 1.5
34
33
, hls-plugin-api >= 1.1 && < 1.3
@@ -37,6 +36,22 @@ library
37
36
, text
38
37
, transformers
39
38
39
+ if impl(ghc < 8.10.5 )
40
+ build-depends :
41
+ ghc-api-compat == 8.6
42
+ elif impl(ghc == 8.10.5 )
43
+ build-depends :
44
+ ghc-api-compat == 8.10.5
45
+ elif impl(ghc == 8.10.6 )
46
+ build-depends :
47
+ ghc-api-compat == 8.10.6
48
+ elif impl(ghc == 8.10.7 )
49
+ build-depends :
50
+ ghc-api-compat == 8.10.7
51
+ elif impl(ghc == 9.0.1 )
52
+ build-depends :
53
+ ghc-api-compat == 9.0.1
54
+
40
55
default-language : Haskell2010
41
56
default-extensions :
42
57
DataKinds
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ library
61
61
, extra
62
62
, filepath
63
63
, ghc
64
- , ghc-api-compat
65
64
, ghc-boot-th
66
65
, ghc-paths
67
66
, ghcide >= 1.2 && < 1.5
@@ -83,6 +82,22 @@ library
83
82
, unliftio
84
83
, unordered-containers
85
84
85
+ if impl(ghc < 8.10.5 )
86
+ build-depends :
87
+ ghc-api-compat == 8.6
88
+ elif impl(ghc == 8.10.5 )
89
+ build-depends :
90
+ ghc-api-compat == 8.10.5
91
+ elif impl(ghc == 8.10.6 )
92
+ build-depends :
93
+ ghc-api-compat == 8.10.6
94
+ elif impl(ghc == 8.10.7 )
95
+ build-depends :
96
+ ghc-api-compat == 8.10.7
97
+ elif impl(ghc == 9.0.1 )
98
+ build-depends :
99
+ ghc-api-compat == 9.0.1
100
+
86
101
ghc-options :
87
102
-Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors
88
103
Original file line number Diff line number Diff line change @@ -19,14 +19,29 @@ library
19
19
, containers
20
20
, deepseq
21
21
, ghc
22
- , ghc-api-compat
23
22
, ghcide ^>= 1.4
24
23
, hls-graph
25
24
, hls-plugin-api >= 1.1 && < 1.3
26
25
, lsp
27
26
, text
28
27
, unordered-containers
29
28
29
+ if impl(ghc < 8.10.5 )
30
+ build-depends :
31
+ ghc-api-compat == 8.6
32
+ elif impl(ghc == 8.10.5 )
33
+ build-depends :
34
+ ghc-api-compat == 8.10.5
35
+ elif impl(ghc == 8.10.6 )
36
+ build-depends :
37
+ ghc-api-compat == 8.10.6
38
+ elif impl(ghc == 8.10.7 )
39
+ build-depends :
40
+ ghc-api-compat == 8.10.7
41
+ elif impl(ghc == 9.0.1 )
42
+ build-depends :
43
+ ghc-api-compat == 9.0.1
44
+
30
45
default-language : Haskell2010
31
46
default-extensions :
32
47
DataKinds
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ library
23
23
, base >= 4.12 && < 5
24
24
, filepath
25
25
, ghc
26
- , ghc-api-compat
27
26
, ghc-boot-th
28
27
, ghcide >= 1.2 && < 1.5
29
28
, hls-plugin-api >= 1.1 && < 1.3
@@ -34,6 +33,22 @@ library
34
33
35
34
default-language : Haskell2010
36
35
36
+ if impl(ghc < 8.10.5 )
37
+ build-depends :
38
+ ghc-api-compat == 8.6
39
+ elif impl(ghc == 8.10.5 )
40
+ build-depends :
41
+ ghc-api-compat == 8.10.5
42
+ elif impl(ghc == 8.10.6 )
43
+ build-depends :
44
+ ghc-api-compat == 8.10.6
45
+ elif impl(ghc == 8.10.7 )
46
+ build-depends :
47
+ ghc-api-compat == 8.10.7
48
+ elif impl(ghc == 9.0.1 )
49
+ build-depends :
50
+ ghc-api-compat == 9.0.1
51
+
37
52
test-suite tests
38
53
type : exitcode-stdio-1.0
39
54
default-language : Haskell2010
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ library
21
21
, directory
22
22
, extra
23
23
, ghc
24
- , ghc-api-compat
25
24
, ghcide >= 1.2 && < 1.5
26
25
, hashable
27
26
, hls-plugin-api >= 1.1 && < 1.3
@@ -33,6 +32,22 @@ library
33
32
, transformers
34
33
, unordered-containers
35
34
35
+ if impl(ghc < 8.10.5 )
36
+ build-depends :
37
+ ghc-api-compat == 8.6
38
+ elif impl(ghc == 8.10.5 )
39
+ build-depends :
40
+ ghc-api-compat == 8.10.5
41
+ elif impl(ghc == 8.10.6 )
42
+ build-depends :
43
+ ghc-api-compat == 8.10.6
44
+ elif impl(ghc == 8.10.7 )
45
+ build-depends :
46
+ ghc-api-compat == 8.10.7
47
+ elif impl(ghc == 9.0.1 )
48
+ build-depends :
49
+ ghc-api-compat == 9.0.1
50
+
36
51
default-language : Haskell2010
37
52
default-extensions :
38
53
DataKinds
Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ extra-deps:
38
38
- data-tree-print-0.1.0.2@rev:2
39
39
- floskell-0.10.4
40
40
- fourmolu-0.3.0.0
41
- - # ghc-api-compat-8.6
42
- github : hsyl20/ghc-api-compat
43
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
41
+ - ghc-api-compat-8.6
44
42
- ghc-check-0.5.0.4
45
43
- ghc-exactprint-0.6.4
46
44
- ghc-lib-8.10.4.20210206
Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ extra-deps:
38
38
- data-tree-print-0.1.0.2@rev:2
39
39
- floskell-0.10.4
40
40
- fourmolu-0.3.0.0
41
- - # ghc-api-compat-8.6
42
- github : hsyl20/ghc-api-compat
43
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
41
+ - ghc-api-compat-8.6
44
42
- ghc-check-0.5.0.4
45
43
- ghc-exactprint-0.6.4
46
44
- ghc-lib-8.10.4.20210206
Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ extra-deps:
38
38
- data-tree-print-0.1.0.2@rev:2
39
39
- floskell-0.10.4
40
40
- fourmolu-0.3.0.0
41
- - # ghc-api-compat-8.6
42
- github : hsyl20/ghc-api-compat
43
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
41
+ - ghc-api-compat-8.6
44
42
- ghc-check-0.5.0.4
45
43
- ghc-exactprint-0.6.4
46
44
- ghc-source-gen-0.4.1.0
Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ extra-deps:
41
41
- data-tree-print-0.1.0.2@rev:2
42
42
- floskell-0.10.5
43
43
- fourmolu-0.3.0.0
44
- - # ghc-api-compat-8.6
45
- github : hsyl20/ghc-api-compat
46
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
44
+ - ghc-api-compat-8.10.5
47
45
- ghc-check-0.5.0.4
48
46
- ghc-exactprint-0.6.4
49
47
- ghc-source-gen-0.4.1.0
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ extra-deps:
35
35
- bytestring-encoding-0.1.1.0@sha256:1c3b97eb6345fd7153006211c8272215cd78bb0cf440c41185290822f1e3f2c2,1738
36
36
- data-tree-print-0.1.0.2@sha256:d845e99f322df70e0c06d6743bf80336f5918d5423498528beb0593a2afc1703,1620
37
37
- floskell-0.10.5@sha256:77f0bc1569573d9666b10975a5357fef631d32266c071733739393ccae521dab,3803
38
- - ghc-api-compat-8.10.6@sha256:cde370b1b4c8a090de1ba6a8e27f65def9af43ca88710b412a6545b876568626,3324
38
+ - ghc-api-compat-8.10.7
39
39
- heapsize-0.3.0.1@sha256:0b69aa97a46d819b700ac7b145f3b5493c3565cf2c5b8298682238d405d0326e,1417
40
40
- hiedb-0.4.0.0@sha256:b6dadd5cefc8c1052bc4b29144f616ca9c22e863a96d8e447d66a4d32c96fd4a,2987
41
41
- implicit-hie-0.1.2.6@sha256:f50a908979a574a881f753c0f9a5224f023f438b30fdefc5b7fa01803b07a280,2998
@@ -55,9 +55,6 @@ extra-deps:
55
55
# - ghc-lib-parser-ex-9.0.0.4@sha256:8282b11c3797fc8ba225b245e736cc9a0745d9c48d0f9fea7f9bffb5c9997709,3642
56
56
# - hlint-3.3@sha256:4218ad6e03050f5d68aeba0e025f5f05e366c8fd49657f2a19df04ee31b2bb23,4154
57
57
58
- # for ghc-api-compat-8.10.6
59
- allow-newer : true
60
-
61
58
configure-options :
62
59
ghcide :
63
60
- --disable-library-for-ghci
Original file line number Diff line number Diff line change @@ -45,9 +45,7 @@ extra-deps:
45
45
- floskell-0.10.4
46
46
- fourmolu-0.3.0.0
47
47
- fuzzy-0.1.0.0
48
- - # ghc-api-compat-8.6
49
- github : hsyl20/ghc-api-compat
50
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
48
+ - ghc-api-compat-8.6
51
49
- ghc-check-0.5.0.4
52
50
- ghc-events-0.13.0
53
51
- ghc-exactprint-0.6.4
You can’t perform that action at this time.
0 commit comments