From 6c615f6957c1a36b2d173f9438d7b63fec9b5cf8 Mon Sep 17 00:00:00 2001 From: Wanja Zaeske Date: Tue, 17 Jan 2023 17:32:03 +0100 Subject: [PATCH] add rustc and cargo to the cross trunk Compiling them can take hours, and with rust specifically it's quite common to cross compile (e.g. to musl/static for easier distribution) --- pkgs/top-level/release-cross.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix index b8719294f98d..f15349da64fa 100644 --- a/pkgs/top-level/release-cross.nix +++ b/pkgs/top-level/release-cross.nix @@ -34,6 +34,8 @@ let nix = nativePlatforms; nixUnstable = nativePlatforms; mesa = nativePlatforms; + rustc = nativePlatforms; + cargo = nativePlatforms; }; gnuCommon = lib.recursiveUpdate common {