File tree 20 files changed +156
-50
lines changed
hls-call-hierarchy-plugin
hls-explicit-imports-plugin
20 files changed +156
-50
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,6 @@ source-repository-package
48
48
tag: 9b1445ab5efcabfad54043fc9b8e50e9d8c5bbf3
49
49
-- https://github.com/mpickering/hie-bios/pull/285
50
50
51
- source-repository-package
52
- type: git
53
- location: https://github.com/hsyl20/ghc-api-compat
54
- tag: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
55
-
56
51
source-repository-package
57
52
type: git
58
53
location: https://github.com/anka-213/th-extras
@@ -75,7 +70,7 @@ source-repository-package
75
70
76
71
write-ghc-environment-files: never
77
72
78
- index-state: 2021-08-12T12:00:38Z
73
+ index-state: 2021-09-06T12:12:22Z
79
74
80
75
constraints:
81
76
-- These plugins doesn't work on GHC9 yet
Original file line number Diff line number Diff line change @@ -30,20 +30,13 @@ package *
30
30
ghc-options : -haddock
31
31
test-show-details : direct
32
32
33
- -- see https://gitlab.haskell.org/haskell/ghc-api-compat/-/issues/1#note_371055
34
- source-repository-package
35
- type : git
36
- location : https://github.com/hsyl20/ghc-api-compat
37
- tag : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
38
-
39
33
write-ghc-environment-files : never
40
34
41
- index-state : 2021-08-12T12:00 :38Z
35
+ index-state : 2021-09-06T12:12 :22Z
42
36
43
37
constraints :
44
38
hyphenation +embed
45
39
46
-
47
40
allow-newer :
48
41
-- for shake-bench
49
42
Chart-diagrams :diagrams-core,
Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ library
98
98
ghc >= 8.6 ,
99
99
ghc-check >= 0.5.0.4 ,
100
100
ghc-paths,
101
- ghc-api-compat,
102
101
cryptohash-sha1 >= 0.11.100 && < 0.12 ,
103
102
hie-bios >= 0.7.1 && < 0.8.0 ,
104
103
implicit-hie-cradle >= 0.3.0.5 && < 0.4 ,
@@ -110,6 +109,22 @@ library
110
109
build-depends :
111
110
unix
112
111
112
+ if impl(ghc < 8.10.5 )
113
+ build-depends :
114
+ ghc-api-compat == 8.6
115
+ elif impl(ghc == 8.10.5 )
116
+ build-depends :
117
+ ghc-api-compat == 8.10.5
118
+ elif impl(ghc == 8.10.6 )
119
+ build-depends :
120
+ ghc-api-compat == 8.10.6
121
+ elif impl(ghc == 8.10.7 )
122
+ build-depends :
123
+ ghc-api-compat == 8.10.7
124
+ elif impl(ghc == 9.0.1 )
125
+ build-depends :
126
+ ghc-api-compat == 9.0.1
127
+
113
128
default-extensions :
114
129
ApplicativeDo
115
130
BangPatterns
Original file line number Diff line number Diff line change @@ -327,7 +327,6 @@ executable haskell-language-server
327
327
, cryptohash-sha1
328
328
, deepseq
329
329
, ghc
330
- , ghc-api-compat
331
330
, ghc-boot-th
332
331
, ghcide
333
332
, hashable
@@ -350,6 +349,22 @@ executable haskell-language-server
350
349
, transformers
351
350
, unordered-containers
352
351
352
+ if impl(ghc < 8.10.5 )
353
+ build-depends :
354
+ ghc-api-compat == 8.6
355
+ elif impl(ghc == 8.10.5 )
356
+ build-depends :
357
+ ghc-api-compat == 8.10.5
358
+ elif impl(ghc == 8.10.6 )
359
+ build-depends :
360
+ ghc-api-compat == 8.10.6
361
+ elif impl(ghc == 8.10.7 )
362
+ build-depends :
363
+ ghc-api-compat == 8.10.7
364
+ elif impl(ghc == 9.0.1 )
365
+ build-depends :
366
+ ghc-api-compat == 9.0.1
367
+
353
368
default-language : Haskell2010
354
369
default-extensions : DataKinds, TypeOperators
355
370
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 @@ -33,6 +33,22 @@ library
33
33
34
34
default-language : Haskell2010
35
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
+
36
52
test-suite tests
37
53
type : exitcode-stdio-1.0
38
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 @@ -37,9 +37,7 @@ extra-deps:
37
37
- data-tree-print-0.1.0.2@rev:2
38
38
- floskell-0.10.4
39
39
- fourmolu-0.3.0.0
40
- - # ghc-api-compat-8.6
41
- github : hsyl20/ghc-api-compat
42
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
40
+ - ghc-api-compat-8.6
43
41
- ghc-check-0.5.0.4
44
42
- ghc-exactprint-0.6.4
45
43
- ghc-lib-8.10.4.20210206
Original file line number Diff line number Diff line change @@ -37,9 +37,7 @@ extra-deps:
37
37
- data-tree-print-0.1.0.2@rev:2
38
38
- floskell-0.10.4
39
39
- fourmolu-0.3.0.0
40
- - # ghc-api-compat-8.6
41
- github : hsyl20/ghc-api-compat
42
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
40
+ - ghc-api-compat-8.6
43
41
- ghc-check-0.5.0.4
44
42
- ghc-exactprint-0.6.4
45
43
- ghc-lib-8.10.4.20210206
Original file line number Diff line number Diff line change @@ -37,9 +37,7 @@ extra-deps:
37
37
- data-tree-print-0.1.0.2@rev:2
38
38
- floskell-0.10.4
39
39
- fourmolu-0.3.0.0
40
- - # ghc-api-compat-8.6
41
- github : hsyl20/ghc-api-compat
42
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
40
+ - ghc-api-compat-8.6
43
41
- ghc-check-0.5.0.4
44
42
- ghc-exactprint-0.6.4
45
43
- ghc-source-gen-0.4.1.0
Original file line number Diff line number Diff line change @@ -39,9 +39,7 @@ extra-deps:
39
39
- data-tree-print-0.1.0.2@rev:2
40
40
- floskell-0.10.5
41
41
- fourmolu-0.3.0.0
42
- - # ghc-api-compat-8.6
43
- github : hsyl20/ghc-api-compat
44
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
42
+ - ghc-api-compat-8.10.5
45
43
- ghc-check-0.5.0.4
46
44
- ghc-exactprint-0.6.4
47
45
- ghc-source-gen-0.4.1.0
Original file line number Diff line number Diff line change @@ -44,9 +44,7 @@ extra-deps:
44
44
- floskell-0.10.4
45
45
- fourmolu-0.3.0.0
46
46
- fuzzy-0.1.0.0
47
- - # ghc-api-compat-8.6
48
- github : hsyl20/ghc-api-compat
49
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
47
+ - ghc-api-compat-8.6
50
48
- ghc-check-0.5.0.4
51
49
- ghc-events-0.13.0
52
50
- ghc-exactprint-0.6.4
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
Original file line number Diff line number Diff line change @@ -39,9 +39,7 @@ extra-deps:
39
39
- constrained-dynamic-0.1.0.0
40
40
- floskell-0.10.4
41
41
- fourmolu-0.3.0.0
42
- - # ghc-api-compat-8.6
43
- github : hsyl20/ghc-api-compat
44
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
42
+ - ghc-api-compat-8.6
45
43
- ghc-check-0.5.0.4
46
44
- ghc-exactprint-0.6.4
47
45
- ghc-lib-8.10.4.20210206
You can’t perform that action at this time.
0 commit comments