From 50261c0602f9df33074dae65c871d354517db4f7 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 13 Jun 2024 21:00:43 +0300 Subject: config.rust: update references from rustc `rustc.config` is called `rust.rustcTarget` now, and `{rustc -> rust}.platform`. This is the new way (tm), and is preferred since https://github.com/NixOS/nixpkgs/pull/271707 - though the documentation still is outdated, and some expressions in nixpkgs were using the old interface. This updates both. --- pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/virtualization') diff --git a/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix b/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix index 3441b625c45e6..8b408cc96ed4b 100644 --- a/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix +++ b/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix @@ -17,8 +17,8 @@ let cross = import ../../../.. { system = hostPlatform.system; crossSystem = lib.systems.examples."${arch}-embedded" // { - rustc.config = "${arch}-unknown-none"; - rustc.platform = lib.importJSON target; + rust.rustcTarget = "${arch}-unknown-none"; + rust.platform = lib.importJSON target; }; }; -- cgit 1.4.1