build(nix): use stable Rust in flake.nix devshell

This way nightly clippy warnings are not generated
when devshell is used.

Nighly Rust is also not cached, e.g. rust-analyzer has to be rebuilt
if version from fenix is used.
This commit is contained in:
link2xt
2024-04-10 19:36:35 +00:00
parent e9cfcd9d1b
commit 9731ec419e

View File

@@ -525,15 +525,12 @@
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
(fenixPkgs.complete.withComponents [ cargo
"cargo" clippy
"clippy" rustc
"rust-src" rustfmt
"rustc" rust-analyzer
"rustfmt"
])
cargo-deny cargo-deny
fenixPkgs.rust-analyzer
perl # needed to build vendored OpenSSL perl # needed to build vendored OpenSSL
]; ];
}; };