From 8a44655415a3ccd8e668c8bf1ea4ce6c96f42da0 Mon Sep 17 00:00:00 2001 From: foxora Date: Sun, 3 May 2026 12:23:11 +0100 Subject: [PATCH] rust-analyzer had bug on master branch --- homes/modules/programs/neovim/nixcats.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homes/modules/programs/neovim/nixcats.nix b/homes/modules/programs/neovim/nixcats.nix index 79ee410..78ed79b 100644 --- a/homes/modules/programs/neovim/nixcats.nix +++ b/homes/modules/programs/neovim/nixcats.nix @@ -2,7 +2,7 @@ # https://github.com/BirdeeHub/nix-wrapper-modules { inputs, - mpkgs, + upkgs, ... }: let inherit @@ -62,7 +62,7 @@ in { docs = [nix-doc]; # TODO: i forgot how to integrate this into neovim }; rust = { - lsp = [cargo mpkgs.rust-analyzer]; + lsp = [cargo upkgs.rust-analyzer]; # nightly rustfmt has nicer features :3 format = [(rustfmt.override {asNightly = true;})]; formatters = { @@ -197,7 +197,7 @@ in { rust.lsp = { # it literally won't see the rust-analyzer provided to it # if you don't use an envrionment variable to tell it - RUST_ANALYZER_CMD = "${mpkgs.rust-analyzer}/bin/rust-analyzer"; + RUST_ANALYZER_CMD = "${upkgs.rust-analyzer}/bin/rust-analyzer"; }; elixir.lsp = { ELIXIR_LS_CMD = "${pkgs.elixir-ls}/scripts/language_server.sh";