Nix overlay for the latest Rust Analyzer version.
Create ~/.config/nixpkgs/overlays
directory and create a file named rust-analyzer.nix
inside this directory and place the following inside:
import (builtins.fetchTarball {
url = https://github.com/Stupremee/rust-analyzer-overlay/archive/main.tar.gz;
})
{
# ...
inputs.rust-analyzer-overlay.url = "github:Stupremee/rust-analyzer-overlay";
outputs = { self, nixpkgs, rust-analyzer-overlay }:
let
pkgs = import <nixpkgs> {
overlays = [ rust-analyzer-overlay.overlay ];
};
in {
# ...
};
}