@@ -59,17 +59,17 @@ rec {
5959 makeStdenvCross = { stdenv
6060 , cc
6161 , buildPlatform, hostPlatform, targetPlatform
62+ , # Prior overrides are surely not valid as packages built
63+ # with this run on a different platform, so disable by
64+ # default.
65+ overrides ? _: _: {}
6266 } @ overrideArgs: let
6367 stdenv = overrideArgs.stdenv.override {
6468 inherit
6569 buildPlatform hostPlatform targetPlatform
66− cc;
70+ cc overrides;
6771
6872 allowedRequisites = null;
69−
70− # Overrides are surely not valid as packages built with this run on a
71− # different platform.
72− overrides = _: _: {};
7373 };
7474 in stdenv // {
7575 mkDerivation =