https://git.tonybtw.com/oxwm.git
git://git.tonybtw.com/oxwm.git
set `RUST_SRC_PATH` in devshell for rust-analyzer
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;