From 75429919df44a2b9d036da4f2fca26cf6202a277 Mon Sep 17 00:00:00 2001 From: Eman Resu <78693624+quatquatt@users.noreply.github.com> Date: Thu, 30 Apr 2026 09:14:05 -0400 Subject: [PATCH] pkgs/toplevel: avoid elaborating crossSystem if not passed Later on, `if crossSystem0 == null` is performed to avoid a `lib.systems.elaborate` if possible. We'd like to take that chance! --- pkgs/top-level/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index 12fdbed08197..42df9d2fc674 100644 --- a/pkgs/top-level/default.nix +++ b/pkgs/top-level/default.nix @@ -44,7 +44,7 @@ in localSystem, # The system packages will ultimately be run on. - crossSystem ? localSystem, + crossSystem ? null, # Allow a configuration attribute set to be passed in as an argument. config ? { },