Skip to content

Commit

Permalink
flake: pin Rust to MSRV (1.65.0)
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Salvador <[email protected]>
  • Loading branch information
otavio committed Mar 8, 2024
1 parent b2dce0b commit 9a0feac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@
pkgs = nixpkgs.legacyPackages.${system};

rust-toolchain = with rust.packages.${system};
let
msrv = toolchainOf {
channel = "1.65.0";
sha256 = "sha256-DzNEaW724O8/B8844tt5AVHmSjSQ3cmzlU4BP90oRlY=";
};
in
combine [
(stable.withComponents [ "rustc" "cargo" "rust-src" "clippy" ])
(msrv.withComponents [ "rustc" "cargo" "rust-src" "clippy" ])
(latest.withComponents [ "rustfmt" "rust-analyzer" ])
];
in
Expand Down

0 comments on commit 9a0feac

Please sign in to comment.