tony / oxwm

set `RUST_SRC_PATH` in devshell for rust-analyzer Browse files
emzywastaken committed 2025-09-24 parent 46b3ba6 commit 297a79e6232c53ce8e402c52fbda5362f6b196e8
Showing 1 changed file with 2 additions and 0 deletions. UnifiedSplit
+2 −0 flake.nix
@@ -21,6 +21,8 @@
21 shellHook = '' 21 shellHook = ''
22 export PS1="(oxwm-dev) $PS1" 22 export PS1="(oxwm-dev) $PS1"
23 ''; 23 '';
24 +
25 + RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
24 }; 26 };
25 27
26 formatter.${system} = pkgs.alejandra; 28 formatter.${system} = pkgs.alejandra;