diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 022be12ab0e5..74b49c60a7b5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4661,7 +4661,7 @@ let rustUnstable = recurseIntoAttrs (makeRustPlatform rustcMaster cargo rustUnstable); # rust platform to build cargo itself (with cargoSnapshot) - rustCargoPlatform = makeRustPlatform rustcMaster cargoSnapshot rustCargoPlatform; + rustCargoPlatform = makeRustPlatform rustc cargoSnapshot rustCargoPlatform; makeRustPlatform = rustc: cargo: self: let