File tree 17 files changed +87
-41
lines changed
hls-call-hierarchy-plugin
hls-explicit-imports-plugin
17 files changed +87
-41
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
Original file line number Diff line number Diff line change @@ -31,15 +31,9 @@ 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-08-30T12 :00 :38Z
43
37
44
38
constraints :
45
39
hyphenation +embed
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,16 @@ 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.5 )
120
+ build-depends :
121
+ ghc-api-compat == 8.10.6
122
+
114
123
default-extensions :
115
124
ApplicativeDo
116
125
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,16 @@ 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.5 )
370
+ build-depends :
371
+ ghc-api-compat == 8.10.6
372
+
364
373
default-language : Haskell2010
365
374
default-extensions : DataKinds, TypeOperators
366
375
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,16 @@ 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.5 )
66
+ build-depends :
67
+ ghc-api-compat == 8.10.6
68
+
60
69
if os(windows)
61
70
build-depends : Win32
62
71
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,16 @@ 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.5 )
49
+ build-depends :
50
+ ghc-api-compat == 8.10.6
51
+
43
52
test-suite tests
44
53
type : exitcode-stdio-1.0
45
54
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,16 @@ 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.5 )
46
+ build-depends :
47
+ ghc-api-compat == 8.10.6
48
+
40
49
default-language : Haskell2010
41
50
default-extensions :
42
51
DataKinds
Original file line number Diff line number Diff line change @@ -19,14 +19,23 @@ 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.5 )
36
+ build-depends :
37
+ ghc-api-compat == 8.10.6
38
+
30
39
default-language : Haskell2010
31
40
default-extensions :
32
41
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,16 @@ 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.5 )
43
+ build-depends :
44
+ ghc-api-compat == 8.10.6
45
+
37
46
test-suite tests
38
47
type : exitcode-stdio-1.0
39
48
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,16 @@ 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.5 )
42
+ build-depends :
43
+ ghc-api-compat == 8.10.6
44
+
36
45
default-language : Haskell2010
37
46
default-extensions :
38
47
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 @@ -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 @@ -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 @@ -46,9 +46,7 @@ extra-deps:
46
46
- floskell-0.10.4
47
47
- fourmolu-0.3.0.0
48
48
- fuzzy-0.1.0.0
49
- - # ghc-api-compat-8.6
50
- github : hsyl20/ghc-api-compat
51
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
49
+ - ghc-api-compat-8.6
52
50
- ghc-check-0.5.0.4
53
51
- ghc-events-0.13.0
54
52
- ghc-exactprint-0.6.4
Original file line number Diff line number Diff line change @@ -40,9 +40,7 @@ extra-deps:
40
40
- constrained-dynamic-0.1.0.0
41
41
- floskell-0.10.4
42
42
- fourmolu-0.3.0.0
43
- - # ghc-api-compat-8.6
44
- github : hsyl20/ghc-api-compat
45
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
43
+ - ghc-api-compat-8.6
46
44
- ghc-check-0.5.0.4
47
45
- ghc-exactprint-0.6.4
48
46
- ghc-lib-8.10.4.20210206
Original file line number Diff line number Diff line change @@ -40,9 +40,7 @@ extra-deps:
40
40
- constrained-dynamic-0.1.0.0
41
41
- floskell-0.10.4
42
42
- fourmolu-0.3.0.0
43
- - # ghc-api-compat-8.6
44
- github : hsyl20/ghc-api-compat
45
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
43
+ - ghc-api-compat-8.6
46
44
- ghc-check-0.5.0.4
47
45
- ghc-exactprint-0.6.4
48
46
- ghc-lib-8.10.4.20210206
Original file line number Diff line number Diff line change @@ -59,9 +59,6 @@ extra-deps:
59
59
commit : b6245884ae83e00dd2b5261762549b37390179f8
60
60
# https://github.com/lspitzner/czipwith/pull/2
61
61
62
- - github : hsyl20/ghc-api-compat
63
- commit : 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
64
-
65
62
- github : anka-213/th-extras
66
63
commit : 57a97b4df128eb7b360e8ab9c5759392de8d1659
67
64
# https://github.com/mokus0/th-extras/pull/8
You can’t perform that action at this time.
0 commit comments