diff --git a/pkgs/top-level/impure.nix b/pkgs/top-level/impure.nix index 463de791a1a65..300f69fc6d649 100644 --- a/pkgs/top-level/impure.nix +++ b/pkgs/top-level/impure.nix @@ -86,5 +86,6 @@ assert args ? system -> !(args ? localSystem); import ./. (builtins.removeAttrs args [ "system" ] // { inherit config overlays localSystem; +} // (if (system == "x86_64-linux" || system == "aarch64-linux") then { crossSystem = { config = "aarch64-unknown-linux-gnu"; }; -}) + } else {}) )