mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 11:56:30 +03:00
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:
13
flake.nix
13
flake.nix
@@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user