make rust-analyzer track latest changes

This commit is contained in:
foxora 2026-02-18 18:50:10 +00:00
parent 8a81199387
commit dd6e0ac2f4
3 changed files with 12 additions and 1 deletions

View file

@ -7,6 +7,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-staging.url = "github:NixOS/nixpkgs/staging-next";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
home-manager = {
url = "github:nix-community/home-manager/master";

View file

@ -1,6 +1,7 @@
{
inputs,
spkgs,
mpkgs,
...
}: let
inherit
@ -64,7 +65,7 @@ in {
];
rust = with pkgs; [
cargo
rust-analyzer
mpkgs.rust-analyzer
];
zig = with pkgs; [
spkgs.zls # FIX: using spkgs version as zls is broken rn ;-;

View file

@ -35,5 +35,14 @@
];
config.allowUnfree = true;
};
# nixpkgs-master
mpkgs = {
source = inputs.nixpkgs-master;
overlays = [
(import ./overlays.nix args)
];
config.allowUnfree = true;
};
};
}