1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

doc: small fix for nightly in derivation snippet (#292688)

This commit is contained in:
Leon 2024-03-05 00:44:39 +01:00 committed by GitHub
parent aa4c6bcd6c
commit 0bb74f147b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -903,8 +903,8 @@ with import <nixpkgs>
};
let
rustPlatform = makeRustPlatform {
cargo = rust-bin.stable.latest.minimal;
rustc = rust-bin.stable.latest.minimal;
cargo = rust-bin.selectLatestNightlyWith (toolchain: toolchain.default);
rustc = rust-bin.selectLatestNightlyWith (toolchain: toolchain.default);
};
in