mingw: use current package set for headers
gccCrossStageStatic should not need targetPackages.
Fixes #53587.
commit03072036937c250976f0522b070eefe96e8ab0f1
authorMatthew Bauer <mjbauer95@gmail.com>
dateMon 7 Jan 2019, 16:15 (8 years ago)
parent8e05911
pkgs/os-specific/windows/mingw-w64/default.nix+1−1
@@ -21,6 +21,6 @@ in stdenv.mkDerivation {
2121 patches = [ ./osvi.patch ];
2222
2323 meta = {
24− platforms = stdenv.lib.platforms.windows;
24+ platforms = stdenv.lib.platforms.all;
2525 };
2626}
pkgs/top-level/all-packages.nix+1−1
@@ -6790,7 +6790,7 @@ in
67906790 # built with, and use, that cross-compiled libc.
67916791 gccCrossStageStatic = assert stdenv.targetPlatform != stdenv.hostPlatform; let
67926792 libcCross1 =
6793− if stdenv.targetPlatform.libc == "msvcrt" then targetPackages.windows.mingw_w64_headers
6793+ if stdenv.targetPlatform.libc == "msvcrt" then windows.mingw_w64_headers
67946794 else if stdenv.targetPlatform.libc == "libSystem" then darwin.xcode
67956795 else null;
67966796 binutils1 = wrapBintoolsWith {