mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03: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;
|
rustPlatform = rustStable;
|
||||||
|
|
||||||
rustStable = recurseIntoAttrs (makeRustPlatform rustc cargo 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)
|
# rust platform to build cargo itself (with cargoSnapshot)
|
||||||
rustCargoPlatform = makeRustPlatform rustc cargoSnapshot.cargo rustCargoPlatform;
|
rustCargoPlatform = makeRustPlatform rustc cargoSnapshot.cargo rustCargoPlatform;
|
||||||
|
rustUnstableCargoPlatform = makeRustPlatform rustcMaster cargoSnapshot.cargo rustUnstableCargoPlatform;
|
||||||
|
|
||||||
makeRustPlatform = rustc: cargo: self:
|
makeRustPlatform = rustc: cargo: self:
|
||||||
let
|
let
|
||||||
|
Loading…
Reference in New Issue
Block a user