Skip to content

Commit 9a0feac

Browse files
committed
flake: pin Rust to MSRV (1.65.0)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
1 parent b2dce0b commit 9a0feac

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

flake.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@
1717
pkgs = nixpkgs.legacyPackages.${system};
1818

1919
rust-toolchain = with rust.packages.${system};
20+
let
21+
msrv = toolchainOf {
22+
channel = "1.65.0";
23+
sha256 = "sha256-DzNEaW724O8/B8844tt5AVHmSjSQ3cmzlU4BP90oRlY=";
24+
};
25+
in
2026
combine [
21-
(stable.withComponents [ "rustc" "cargo" "rust-src" "clippy" ])
27+
(msrv.withComponents [ "rustc" "cargo" "rust-src" "clippy" ])
2228
(latest.withComponents [ "rustfmt" "rust-analyzer" ])
2329
];
2430
in

0 commit comments

Comments
 (0)