Merge pull request #53605 from matthewbauer/fix-53587
mingw: use current package set for headers
commit2000d62a504bbe2575bc3aa5c73948e13922952f
authorMatthew Bauer <mjbauer95@gmail.com>
dateSun 13 Jan 2019, 20:12 (8 years ago)
parent52d7d5e0307203
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
@@ -6815,7 +6815,7 @@ in
68156815 # built with, and use, that cross-compiled libc.
68166816 gccCrossStageStatic = assert stdenv.targetPlatform != stdenv.hostPlatform; let
68176817 libcCross1 =
6818− if stdenv.targetPlatform.libc == "msvcrt" then targetPackages.windows.mingw_w64_headers
6818+ if stdenv.targetPlatform.libc == "msvcrt" then windows.mingw_w64_headers
68196819 else if stdenv.targetPlatform.libc == "libSystem" then darwin.xcode
68206820 else null;
68216821 binutils1 = wrapBintoolsWith {