oxwm

https://git.tonybtw.com/oxwm.git git://git.tonybtw.com/oxwm.git

set `RUST_SRC_PATH` in devshell for rust-analyzer

Commit
297a79e6232c53ce8e402c52fbda5362f6b196e8
Parent
46b3ba6
Author
emzywastaken <amiamemetoo@gmail.com>
Date
2025-09-24 19:47:58

Diff

diff --git a/flake.nix b/flake.nix
index 0a146a8..f31500a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -21,6 +21,8 @@
       shellHook = ''
         export PS1="(oxwm-dev) $PS1"
       '';
+
+      RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
     };
 
     formatter.${system} = pkgs.alejandra;