-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] error: attribute 'propagatedBuildInputs' missing
in pylsp support
#1894
Comments
For now, try removing any "follows" lines affecting nixvim in your flake inputs and re-run See #1893 (comment) |
I'll get a look, thanks ! |
No luck, unfortunately. (Not OP, but same error) |
Edit: disabling I am a bit confused though because this doesn't appear to have anything to do with |
Can you share your config ? I tried disabling |
This is everything relating to python that I have: { pkgs, ... }:
{
programs.nixvim.plugins.lsp.servers.pylsp = {
enable = true;
filetypes = [ "python" ];
settings.plugins = {
black.enabled = true;
black.line_length = 88;
isort.enabled = true;
pylint.enabled = true;
pycodestyle.enabled = true;
pycodestyle.maxLineLength = 88;
pycodestyle.ignore = [ "E501" "W503" "R0903" ];
# pylsp_mypy.enabled = true;
# pylsp_mypy.dmypy = true;
ruff.enabled = false;
ruff.lineLength = 88;
};
};
programs.nixvim.plugins.lint.lintersByFt.python = [ "pylint" ];
programs.nixvim.extraPackages = [ pkgs.pylint pkgs.ruff ];
home.shellAliases.ruff = "${pkgs.ruff}/bin/ruff";
} I kept my |
|
If you have a newer nixpkgs lock than us then any number of python packages may affect you, since we have yet to update our implementation to match the very latest nixpkgs. It's also possible for nixpkgs differences to affect you even if the relevant options are not enabled, because the modules still get evaluated. If disabling |
|
Ah yes, you're right. #1784 could eventually allow a solution to that; we could have something similar to home-manager's |
This should be fixed by 9f9e202 |
lsp
github:nixos/nixpkgs/af9c15bc7a314c226d7d5d85e159f7a73e8d9fae
github:nix-community/home-manager/afd2021bedff2de92dfce0e257a3d03ae65c603d
Description
After updating my setup with
nix flake update
, I get the following error onnix flake check
orhome-manager switch
:No change to my local nix files has been done (here is my plugin config: https://github.com/vsiles/config/blob/master/home-manager/lsp.nix#L45)
Minimal, Reproducible Example (MRE)
The text was updated successfully, but these errors were encountered: