mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
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:
@@ -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 ? { },
|
||||
|
||||
Reference in New Issue
Block a user