@@ -22,6 +22,7 @@ in
2222 # with unnamed parameters allowed by ...
2323 system ? localSystem.system
2424, platform ? localSystem.platform
25+, crossSystem ? null
2526
2627, # Fallback: The contents of the configuration file found at $NIXPKGS_CONFIG or
2728 # $HOME/.config/nixpkgs/config.nix.
@@ -61,7 +62,7 @@ in
6162assert args ? localSystem -> !(args ? system || args ? platform);
6263
6364import ./. (builtins.removeAttrs args [ "system" "platform" ] // {
64− inherit config overlays;
65+ inherit config overlays crossSystem;
6566 # Fallback: Assume we are building packages on the current (build, in GNU
6667 # Autotools parlance) system.
6768 localSystem = { system = builtins.currentSystem; } // localSystem;