The update probably succeeded correctly, though you forgot to tell the rust analyzed that it got updated, you probably need to update all the other fields refering to version to get also the output right.
Thanks @NobbZ ! I am far away to know what I am doing, just to be clear. I have added the RUST_ANALYZER_REV as part of the override but I canât see a change
I checked the rust-analyzer binary and it comes from this directory ll /nix/store/bw528h04d9a1ymfnqanqimnxai1y3qb6-rust-analyzer-2021-10-25 that contains the âoldâ version 2021-10-25.
Thanks! I am not sure if you had the possibility to look at my PR but it sound in use. I have tried to change the name for the overwritten derivation to something unique and it picks it up.
I am missing something but I think it is used by the system
Okay, I have indeed overlooked that one, and again I skimmed (some) of the imported modules, basically the roles, and this time I didnât find where you install the analyser.
I have to play with it a bit when at a PC, though now as I see the override cargoSha256 I remember that it wasnât that easy to override rust programs.
Ok, I realized I was doing something silly. I fixed my issue important the unstable channel. And now I install rust-analyzer from it.
I got to this solution because I changed the cargoSha256 from a random value and NixOS built the new version but it failed along the way, probably because I had to apply different patches.
I am kind of curious to know what I am doing wrong with the overlay but I am where I was trying to go!