From d8cf1e9a51b6d11081becf3894ce78887c10a8a0 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 13 Sep 2024 16:10:10 -0400 Subject: [PATCH] build(nix): install RA into dev-shell (#6688) Instead of forcing NIx users of the respository (me) to install RA globally, we can install the equivalent version of whatever Rust version we depend on. --- scripts/nix/flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nix/flake.nix b/scripts/nix/flake.nix index 13ae9cfb8..c7d0e8579 100644 --- a/scripts/nix/flake.nix +++ b/scripts/nix/flake.nix @@ -57,7 +57,7 @@ packages = [ pkgs.cargo-tauri pkgs.iptables pkgs.nodePackages.pnpm cargo-udeps pkgs.cargo-sort ]; buildInputs = packages ++ [ (rustVersion.override { - extensions = [ "rust-src" ]; + extensions = [ "rust-src" "rust-analyzer" ]; targets = [ "x86_64-unknown-linux-musl" ]; }) ];