From ae975f946d84ea06c399ad24448fac2fa027c5b3 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 20 Oct 2024 19:47:55 +0200 Subject: [PATCH] flake.nix: fix rust-analyzer --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 053acc1..09fe8dd 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,9 @@ }; 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 { apps = forAllSystems (system: pkgs: _: {