Skip to content

Commit d59426a

Browse files
committed
Use latest instead of a pinned nightly version
1 parent 4f525b4 commit d59426a

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

flake.nix

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,8 @@
2929
rustToolchain.rust-std
3030
];
3131

32-
rustToolchainNightly = fenix.packages.${system}.fromToolchainName {
33-
name = "nightly";
34-
sha256 = "sha256-x+EWymRPcdfpK3I1N+Rr3RE0ld/KmNPEJGDnyxFyByE=";
35-
};
36-
rustBuildToolchainNightly = fenix.packages.${system}.combine [
37-
rustToolchainNightly.rustc
38-
rustToolchainNightly.cargo
39-
rustToolchainNightly.rust-src
40-
rustToolchainNightly.llvm-tools
41-
rustToolchainNightly.rust-std
42-
];
32+
rustBuildToolchainNightly = fenix.packages.${system}.latest.toolchain;
33+
4334
rustPlatformNightly = pkgs.makeRustPlatform {
4435
cargo = rustBuildToolchainNightly;
4536
rustc = rustBuildToolchainNightly;

0 commit comments

Comments
 (0)