Open FrnkPsycho opened 1 year ago
Forget to post version that works.
> /run/current-system/sw/bin/rust-analyzer --version
rust-analyzer 2022-10-03
We do something special on Nix, but I have no idea what might be happening in your case. What's /run/current-system/sw/bin/rust-analyzer
?
We do something special on Nix, but I have no idea what might be happening in your case. What's
/run/current-system/sw/bin/rust-analyzer
?
It comes from which rust-analyzer
I'm new to nixos so I can't sure but I think it's a link to rust-analyzer
in my system environment.
Rust Analyzer Client log:
But when I execute this command in a external shell:
It seems no problems.
Then I changed
rust-analyzer.server.path
to"/run/current-system/sw/bin/rust-analyzer"
It works! IDK why the standalone server don't work.BTW, I'm using NixOS, so the path of link might seems different from other dists. Maybe the problem relates to the system?