flake.nix: fix rust-analyzer

This commit is contained in:
Oystein Kristoffer Tveit 2024-10-20 19:47:55 +02:00
parent 1413af8111
commit ae975f946d
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@
}; };
rust-bin = rust-overlay.lib.mkRustBin { } pkgs.buildPackages; rust-bin = rust-overlay.lib.mkRustBin { } pkgs.buildPackages;
toolchain = rust-bin.stable.latest.default; toolchain = rust-bin.stable.latest.default.override {
extensions = [ "rust-src" "rust-analyzer" "rust-std" ];
};
in f system pkgs toolchain); in f system pkgs toolchain);
in { in {
apps = forAllSystems (system: pkgs: _: { apps = forAllSystems (system: pkgs: _: {