task: allow rust analyzer to work with vscode

This commit is contained in:
Stephen Stubbs 2024-01-09 22:25:26 +00:00
parent 0ea67a261e
commit d65a867727

View file

@ -23,7 +23,9 @@
else if builtins.pathExists ./rust-toolchain then else if builtins.pathExists ./rust-toolchain then
rust.fromRustupToolchainFile ./rust-toolchain rust.fromRustupToolchainFile ./rust-toolchain
else else
rust.stable.latest.default; rust.stable.latest.default.override {
extensions = [ "rust-src" "rustfmt" ];
};
}) })
]; ];
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];