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!
This commit is contained in:
Eman Resu
2026-04-30 09:14:05 -04:00
parent 3aa292bb16
commit 75429919df

View File

@@ -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 ? { },