@@ -38,46 +38,27 @@ library
38
38
build-depends :
39
39
base >= 4.7 && < 5
40
40
, aeson
41
- , async
42
41
, binary
43
- , bytestring
44
42
, Cabal
45
43
, cabal-helper >= 1.0
46
44
, containers
47
- , data-default
48
45
, deepseq
49
46
, directory
50
- , extra
51
47
, filepath
52
- , fuzzy
53
48
, ghc
54
49
, ghcide >= 0.1
55
50
, gitrev
56
- , haddock-library
57
51
, hashable
58
52
, haskell-lsp == 0.19. *
59
- , haskell-lsp-types == 0.19. *
60
- , hie-bios
53
+ , hie-bios >= 0.4
61
54
, hslogger
62
- , mtl
63
- , network-uri
64
55
, optparse-simple
65
- , prettyprinter
66
- , prettyprinter-ansi-terminal
67
- , prettyprinter-ansi-terminal
68
56
, process
69
57
, regex-tdfa >= 1.3.1.0
70
- , rope-utf16-splay
71
- , safe-exceptions
72
58
, shake >= 0.17.5
73
- , sorted-list
74
- , stm
75
- , syb
76
59
, text
77
- , time
78
60
, transformers
79
61
, unordered-containers
80
- , utf8-string
81
62
if impl(ghc >= 8.6 )
82
63
build-depends : ormolu >= 0.0.3.1
83
64
@@ -117,16 +98,21 @@ executable haskell-language-server
117
98
base >= 4.7 && < 5
118
99
, containers
119
100
, data-default
120
- , directory
121
101
, extra
122
102
, filepath
103
+ --------------------------------------------------------------
104
+ -- The MIN_GHC_API_VERSION macro relies on MIN_VERSION pragmas
105
+ -- which require depending on ghc. So the tests need to depend
106
+ -- on ghc if they need to use MIN_GHC_API_VERSION. Maybe a
107
+ -- better solution can be found, but this is a quick solution
108
+ -- which works for now.
123
109
, ghc
110
+ --------------------------------------------------------------
124
111
, ghc-paths
125
112
, ghcide
126
113
, gitrev
127
114
, haskell-lsp
128
115
, hie-bios >= 0.4
129
- , hslogger
130
116
, haskell-language-server
131
117
, optparse-applicative
132
118
, shake >= 0.17.5
@@ -162,14 +148,11 @@ executable haskell-language-server-wrapper
162
148
, filepath
163
149
, gitrev
164
150
, ghc
165
- , ghcide
166
151
, ghc-paths
167
- , haskell-lsp
168
152
, hie-bios
169
153
, haskell-language-server
170
154
, optparse-applicative
171
155
, process
172
- , text
173
156
default-language : Haskell2010
174
157
175
158
@@ -183,38 +166,12 @@ test-suite func-test
183
166
184
167
build-depends :
185
168
base >= 4.7 && < 5
186
- , haskell-language-server
187
169
, aeson
188
- , base
189
- , bytestring
190
- , containers
191
170
, data-default
192
- , directory
193
- , extra
194
- , filepath
195
- --------------------------------------------------------------
196
- -- The MIN_GHC_API_VERSION macro relies on MIN_VERSION pragmas
197
- -- which require depending on ghc. So the tests need to depend
198
- -- on ghc if they need to use MIN_GHC_API_VERSION. Maybe a
199
- -- better solution can be found, but this is a quick solution
200
- -- which works for now.
201
- , ghc
202
- --------------------------------------------------------------
203
- , ghcide
204
- , ghc-typelits-knownnat
205
- , haddock-library
206
- , haskell-lsp
207
- , haskell-lsp-types
208
171
, hls-test-utils
209
- , lens
210
172
, lsp-test >= 0.10.0.0
211
- , parser-combinators
212
- , QuickCheck
213
- , quickcheck-instances
214
- , rope-utf16-splay
215
173
, text
216
174
, hspec
217
- , hspec-core
218
175
other-modules :
219
176
-- CompletionSpec
220
177
-- , CommandSpec
0 commit comments