Revert "mingw: use current package set for headers"

This reverts commit 03072036937c250976f0522b070eefe96e8ab0f1.
This commit is contained in:
Matthew Bauer 2019-01-28 10:42:04 -05:00
parent 9fd1c170cc
commit febda2b127
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@ in stdenv.mkDerivation {
patches = [ ./osvi.patch ]; patches = [ ./osvi.patch ];
meta = { meta = {
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.windows;
}; };
} }

View File

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