mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 02:16:29 +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 {
|
||||
buildInputs = with pkgs; [
|
||||
(fenixPkgs.complete.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
])
|
||||
cargo
|
||||
clippy
|
||||
rustc
|
||||
rustfmt
|
||||
rust-analyzer
|
||||
cargo-deny
|
||||
fenixPkgs.rust-analyzer
|
||||
perl # needed to build vendored OpenSSL
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user