@@ -6815,7 +6815,7 @@ in
6815 # built with, and use, that cross-compiled libc.
6815 # built with, and use, that cross-compiled libc.
6816 gccCrossStageStatic = assert stdenv.targetPlatform != stdenv.hostPlatform; let
6816 gccCrossStageStatic = assert stdenv.targetPlatform != stdenv.hostPlatform; let
6817 libcCross1 =
6817 libcCross1 =
6818− if stdenv.targetPlatform.libc == "msvcrt" then targetPackages.windows.mingw_w64_headers
6818+ if stdenv.targetPlatform.libc == "msvcrt" then windows.mingw_w64_headers
6819 else if stdenv.targetPlatform.libc == "libSystem" then darwin.xcode
6819 else if stdenv.targetPlatform.libc == "libSystem" then darwin.xcode
6820 else null;
6820 else null;
6821 binutils1 = wrapBintoolsWith {
6821 binutils1 = wrapBintoolsWith {