mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
rustUnstable: Don't depend on a stable rust compiler
This commit is contained in:
parent
de2906e670
commit
0d0be13878
@ -4669,10 +4669,12 @@ let
|
||||
rustPlatform = rustStable;
|
||||
|
||||
rustStable = recurseIntoAttrs (makeRustPlatform rustc cargo rustStable);
|
||||
rustUnstable = recurseIntoAttrs (makeRustPlatform rustcMaster cargo rustUnstable);
|
||||
rustUnstable = recurseIntoAttrs (makeRustPlatform rustcMaster
|
||||
(cargo.override { rustPlatform = rustUnstableCargoPlatform; }) rustUnstable);
|
||||
|
||||
# rust platform to build cargo itself (with cargoSnapshot)
|
||||
rustCargoPlatform = makeRustPlatform rustc cargoSnapshot.cargo rustCargoPlatform;
|
||||
rustUnstableCargoPlatform = makeRustPlatform rustcMaster cargoSnapshot.cargo rustUnstableCargoPlatform;
|
||||
|
||||
makeRustPlatform = rustc: cargo: self:
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user