cmake-language-server: fix build using latest pygls version
This commit is contained in:
parent
dcd7be06e8
commit
1a03d094f4
2 changed files with 16 additions and 0 deletions
|
@ -24,6 +24,9 @@ buildPythonApplication rec {
|
|||
patches = [
|
||||
# Test timeouts occasionally cause the build to fail
|
||||
./disable-test-timeouts.patch
|
||||
|
||||
# cmake-language-server depends on pygls 0.11, but still works with 0.12
|
||||
./use-latest-pygls.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index bc6251d..39d6686 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -19,7 +19,7 @@ classifiers = [
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.6"
|
||||
-pygls = "^0.11"
|
||||
+pygls = "^0.12"
|
||||
pyparsing = "^2.4"
|
||||
importlib-metadata = {version = "^4.8", python = "<3.8"}
|
||||
|
Loading…
Reference in a new issue