This is probably because you are using the latest
profile, switching to default
fixes the issue for me
--- a/nix/repo/rust.nix
+++ b/nix/repo/rust.nix
@@ -3,4 +3,4 @@ let
in
# export fenix toolchain as it's own package set
# change "stable" to "latest" for nightly rust
- builtins.removeAttrs (fenix.packages.latest // {inherit (fenix.packages) rust-analyzer;}) ["withComponents"]
+ builtins.removeAttrs (fenix.packages.default // {inherit (fenix.packages) rust-analyzer;}) ["withComponents"]