|
1 | 1 | cabal-version: 3.0 |
2 | 2 | category: Development |
3 | 3 | name: haskell-language-server |
4 | | -version: 1.10.0.0 |
| 4 | +version: 2.0.0.0 |
5 | 5 | synopsis: LSP server for GHC |
6 | 6 | description: |
7 | 7 | Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme> |
@@ -213,144 +213,144 @@ flag cabalfmt |
213 | 213 |
|
214 | 214 | common cabalfmt |
215 | 215 | if flag(cabalfmt) |
216 | | - build-depends: hls-cabal-fmt-plugin ^>= 0.1.0.0 |
| 216 | + build-depends: hls-cabal-fmt-plugin == 2.0.0.0 |
217 | 217 | cpp-options: -Dhls_cabalfmt |
218 | 218 |
|
219 | 219 | common cabal |
220 | 220 | if flag(cabal) |
221 | | - build-depends: hls-cabal-plugin ^>= 0.1 |
| 221 | + build-depends: hls-cabal-plugin == 2.0.0.0 |
222 | 222 | cpp-options: -Dhls_cabal |
223 | 223 |
|
224 | 224 | common class |
225 | 225 | if flag(class) |
226 | | - build-depends: hls-class-plugin ^>= 1.1 |
| 226 | + build-depends: hls-class-plugin == 2.0.0.0 |
227 | 227 | cpp-options: -Dhls_class |
228 | 228 |
|
229 | 229 | common callHierarchy |
230 | 230 | if flag(callHierarchy) |
231 | | - build-depends: hls-call-hierarchy-plugin ^>= 1.2 |
| 231 | + build-depends: hls-call-hierarchy-plugin == 2.0.0.0 |
232 | 232 | cpp-options: -Dhls_callHierarchy |
233 | 233 |
|
234 | 234 | common haddockComments |
235 | 235 | if flag(haddockComments) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds)) |
236 | | - build-depends: hls-haddock-comments-plugin ^>= 1.1 |
| 236 | + build-depends: hls-haddock-comments-plugin == 2.0.0.0 |
237 | 237 | cpp-options: -Dhls_haddockComments |
238 | 238 |
|
239 | 239 | common eval |
240 | 240 | if flag(eval) |
241 | | - build-depends: hls-eval-plugin ^>= 1.5 |
| 241 | + build-depends: hls-eval-plugin == 2.0.0.0 |
242 | 242 | cpp-options: -Dhls_eval |
243 | 243 |
|
244 | 244 | common importLens |
245 | 245 | if flag(importLens) |
246 | | - build-depends: hls-explicit-imports-plugin ^>= 1.2 |
| 246 | + build-depends: hls-explicit-imports-plugin == 2.0.0.0 |
247 | 247 | cpp-options: -Dhls_importLens |
248 | 248 |
|
249 | 249 | common refineImports |
250 | 250 | if flag(refineImports) |
251 | | - build-depends: hls-refine-imports-plugin ^>=1.0 |
| 251 | + build-depends: hls-refine-imports-plugin == 2.0.0.0 |
252 | 252 | cpp-options: -Dhls_refineImports |
253 | 253 |
|
254 | 254 | common rename |
255 | 255 | if flag(rename) |
256 | | - build-depends: hls-rename-plugin ^>= 1.0 |
| 256 | + build-depends: hls-rename-plugin == 2.0.0.0 |
257 | 257 | cpp-options: -Dhls_rename |
258 | 258 |
|
259 | 259 | common retrie |
260 | 260 | if flag(retrie) |
261 | | - build-depends: hls-retrie-plugin ^>= 1.0 |
| 261 | + build-depends: hls-retrie-plugin == 2.0.0.0 |
262 | 262 | cpp-options: -Dhls_retrie |
263 | 263 |
|
264 | 264 | common tactic |
265 | 265 | if flag(tactic) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds)) |
266 | | - build-depends: hls-tactics-plugin ^>= 1.8.1 |
| 266 | + build-depends: hls-tactics-plugin == 2.0.0.0 |
267 | 267 | cpp-options: -Dhls_tactic |
268 | 268 |
|
269 | 269 | common hlint |
270 | 270 | if flag(hlint) && impl(ghc < 9.5) |
271 | | - build-depends: hls-hlint-plugin ^>= 1.1 |
| 271 | + build-depends: hls-hlint-plugin == 2.0.0.0 |
272 | 272 | cpp-options: -Dhls_hlint |
273 | 273 |
|
274 | 274 | common stan |
275 | 275 | if flag(stan) && (impl(ghc >= 8.10) && impl(ghc < 9.0)) |
276 | | - build-depends: hls-stan-plugin ^>= 1.0 |
| 276 | + build-depends: hls-stan-plugin == 2.0.0.0 |
277 | 277 | cpp-options: -Dhls_stan |
278 | 278 |
|
279 | 279 | common moduleName |
280 | 280 | if flag(moduleName) |
281 | | - build-depends: hls-module-name-plugin ^>= 1.1 |
| 281 | + build-depends: hls-module-name-plugin == 2.0.0.0 |
282 | 282 | cpp-options: -Dhls_moduleName |
283 | 283 |
|
284 | 284 | common pragmas |
285 | 285 | if flag(pragmas) |
286 | | - build-depends: hls-pragmas-plugin ^>= 1.0 |
| 286 | + build-depends: hls-pragmas-plugin == 2.0.0.0 |
287 | 287 | cpp-options: -Dhls_pragmas |
288 | 288 |
|
289 | 289 | common splice |
290 | 290 | if flag(splice) |
291 | | - build-depends: hls-splice-plugin ^>=1.1 |
| 291 | + build-depends: hls-splice-plugin == 2.0.0.0 |
292 | 292 | cpp-options: -Dhls_splice |
293 | 293 |
|
294 | 294 | common alternateNumberFormat |
295 | 295 | if flag(alternateNumberFormat) |
296 | | - build-depends: hls-alternate-number-format-plugin ^>= 1.3 |
| 296 | + build-depends: hls-alternate-number-format-plugin == 2.0.0.0 |
297 | 297 | cpp-options: -Dhls_alternateNumberFormat |
298 | 298 |
|
299 | 299 | common qualifyImportedNames |
300 | 300 | if flag(qualifyImportedNames) |
301 | | - build-depends: hls-qualify-imported-names-plugin ^>=1.0 |
| 301 | + build-depends: hls-qualify-imported-names-plugin == 2.0.0.0 |
302 | 302 | cpp-options: -Dhls_qualifyImportedNames |
303 | 303 |
|
304 | 304 | common codeRange |
305 | 305 | if flag(codeRange) |
306 | | - build-depends: hls-code-range-plugin ^>= 1.1 |
| 306 | + build-depends: hls-code-range-plugin == 2.0.0.0 |
307 | 307 | cpp-options: -Dhls_codeRange |
308 | 308 |
|
309 | 309 | common changeTypeSignature |
310 | 310 | if flag(changeTypeSignature) |
311 | | - build-depends: hls-change-type-signature-plugin ^>= 1.1 |
| 311 | + build-depends: hls-change-type-signature-plugin == 2.0.0.0 |
312 | 312 | cpp-options: -Dhls_changeTypeSignature |
313 | 313 |
|
314 | 314 | common gadt |
315 | 315 | if flag(gadt) |
316 | | - build-depends: hls-gadt-plugin ^>= 1.0 |
| 316 | + build-depends: hls-gadt-plugin == 2.0.0.0 |
317 | 317 | cpp-options: -Dhls_gadt |
318 | 318 |
|
319 | 319 | common explicitFixity |
320 | 320 | if flag(explicitFixity) |
321 | | - build-depends: hls-explicit-fixity-plugin ^>= 1.1 |
| 321 | + build-depends: hls-explicit-fixity-plugin == 2.0.0.0 |
322 | 322 | cpp-options: -DexplicitFixity |
323 | 323 |
|
324 | 324 | common explicitFields |
325 | 325 | if flag(explicitFields) |
326 | | - build-depends: hls-explicit-record-fields-plugin ^>= 1.0 |
| 326 | + build-depends: hls-explicit-record-fields-plugin == 2.0.0.0 |
327 | 327 | cpp-options: -DexplicitFields |
328 | 328 |
|
329 | 329 | -- formatters |
330 | 330 |
|
331 | 331 | common floskell |
332 | 332 | if flag(floskell) && impl(ghc < 9.5) |
333 | | - build-depends: hls-floskell-plugin ^>= 1.0 |
| 333 | + build-depends: hls-floskell-plugin == 2.0.0.0 |
334 | 334 | cpp-options: -Dhls_floskell |
335 | 335 |
|
336 | 336 | common fourmolu |
337 | 337 | if flag(fourmolu) |
338 | | - build-depends: hls-fourmolu-plugin ^>= 1.1 |
| 338 | + build-depends: hls-fourmolu-plugin == 2.0.0.0 |
339 | 339 | cpp-options: -Dhls_fourmolu |
340 | 340 |
|
341 | 341 | common ormolu |
342 | 342 | if flag(ormolu) && impl(ghc < 9.5) |
343 | | - build-depends: hls-ormolu-plugin ^>= 1.0 |
| 343 | + build-depends: hls-ormolu-plugin == 2.0.0.0 |
344 | 344 | cpp-options: -Dhls_ormolu |
345 | 345 |
|
346 | 346 | common stylishHaskell |
347 | 347 | if flag(stylishHaskell) && impl(ghc < 9.5) |
348 | | - build-depends: hls-stylish-haskell-plugin ^>= 1.0 |
| 348 | + build-depends: hls-stylish-haskell-plugin == 2.0.0.0 |
349 | 349 | cpp-options: -Dhls_stylishHaskell |
350 | 350 |
|
351 | 351 | common refactor |
352 | 352 | if flag(refactor) |
353 | | - build-depends: hls-refactor-plugin ^>= 1.2 |
| 353 | + build-depends: hls-refactor-plugin == 2.0.0.0 |
354 | 354 | cpp-options: -Dhls_refactor |
355 | 355 |
|
356 | 356 | library |
@@ -405,12 +405,12 @@ library |
405 | 405 | , cryptohash-sha1 |
406 | 406 | , data-default |
407 | 407 | , ghc |
408 | | - , ghcide ==1.10.0.0 |
| 408 | + , ghcide == 2.0.0.0 |
409 | 409 | , githash >=0.1.6.1 |
410 | 410 | , lsp |
411 | 411 | , hie-bios |
412 | 412 | , hiedb |
413 | | - , hls-plugin-api ^>=1.6 |
| 413 | + , hls-plugin-api == 2.0.0.0 |
414 | 414 | , optparse-applicative |
415 | 415 | , optparse-simple |
416 | 416 | , process |
@@ -549,7 +549,7 @@ test-suite func-test |
549 | 549 | , lens-aeson |
550 | 550 | , ghcide |
551 | 551 | , ghcide-test-utils |
552 | | - , hls-test-utils ^>=1.6 |
| 552 | + , hls-test-utils == 2.0.0.0 |
553 | 553 | , lsp-types |
554 | 554 | , aeson |
555 | 555 | , hls-plugin-api |
|
0 commit comments