mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/lsp/pylsp: propagatedBuildInputs -> dependencies
This commit is contained in:
parent
3b6d403f39
commit
10cc58d497
1 changed files with 4 additions and 1 deletions
|
@ -539,7 +539,7 @@ in
|
|||
(optional (isEnabled plugins.${pluginName}) (
|
||||
nixPackage.overridePythonAttrs (old: {
|
||||
# Get rid of the python-lsp-server dependency
|
||||
propagatedBuildInputs = filter (dep: dep.pname != "python-lsp-server") old.propagatedBuildInputs;
|
||||
dependencies = filter (dep: dep.pname != "python-lsp-server") old.dependencies;
|
||||
|
||||
# Skip testing because those naked dependencies will complain about missing pylsp
|
||||
doCheck = false;
|
||||
|
@ -581,6 +581,9 @@ in
|
|||
'';
|
||||
});
|
||||
rope = pylsp-rope.overridePythonAttrs (old: {
|
||||
# TODO: remove when https://github.com/NixOS/nixpkgs/pull/329137 reaches nixos-unstable
|
||||
build-system = [ setuptools ];
|
||||
|
||||
postPatch =
|
||||
old.postPatch or ''''
|
||||
+ ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue