Open LudovicoPiero opened 2 weeks ago
The error is that a list has been assigned to plugins.lsp.servers.rust-analyzer.settings
, however that doesn't appear to be anywhere obvious in your config 🤔
The actual value assigned looks like it's come from our update script:
[ { properties = { "rust-analyzer.cargoRunner" = { type = [ "null" "string" ]; default = null; description = "Custom cargo runner extension ID."; }; "rust-analyzer.discoverProjectRunner" = { type = [ "null" "string" ]; default = null; markdownDescription = "Sets the extension responsible for determining which extension the rust-analyzer extension uses to generate `rust-project.json` files. This should should only be used\n if a build system like Buck or Bazel is also in use."; }; "rust-analyzer.restartServerOnConfigChange" = { type = "boolean"; default = false; «4294967289 attributes elided» }; «4294967292 attributes elided» }; «4294967286 attributes elided» } { «4294967286 attributes elided» } { «4294967286 attributes elided» } { «4294967286 attributes elided» } { «4294967286 attributes elided» } { «4294967286 attributes elided» } «154 items elided» ]
Without looking into this properly, my first thought is that one of my recent refactoring PRs broke something here.
Actually, it's only happening on nixos-unstable-small
. On nixos-unstable
, I get the bash-language-server error.
On
nixos-unstable
, I get the bash-language-server error.
That's a separate issue (see #1699). Removing inputs.nixvim.follows
lines will work-around that.
Getting this error too on my config all of a sudden. Dont need a complex config, looks like its reproducible by just setting anything in the settings attribute of server.
EDIT: Somehow related to a new nixpkgs bump even though I dont have nixvim following my nixpkgs input. I was able to flake lock update every input but nixpkgs. Soon as I bump my nixpkgs from 06/13 to 06/16 it throws this error about evaluation.
I'm also getting this.. is there a fix or a workaround?
I'm also getting this.. is there a fix or a workaround?
Same error here.
Comment nixvim.inputs.nixpkgs.follows , then nix flake lock
works for me.
Getting this even with rust-analyzer disabled.
A quick fix will be shipped in #1719
Fixed (kind of) in #1719.
I will leave this issue open because we need to actually fix it for real.
Got the same error, thanks for giving out a solution. @pta2002 Have you updated your system fully? I'm still new and don't know all the key terms but at first that happened but a nix flake update and rebuild put me at the latest nixvim release
i no longer am experiencing this error
I no longer am experiencing this error
As mentioned above https://github.com/nix-community/nixvim/issues/1702#issuecomment-2175698064, we have a temporary workaround in place. @traxys is looking into the actual issue, so hopefully it'll be fixed properly soon.
lsp
unstable
unstable
Description
Error after doing
nix flake update
. Here's the error messageMinimal, Reproducible Example (MRE)