mingw: use current package set for headers
gccCrossStageStatic should not need targetPackages. Fixes #53587.
This commit is contained in:
parent
8e05911ccb
commit
0307203693
@ -21,6 +21,6 @@ in stdenv.mkDerivation {
|
||||
patches = [ ./osvi.patch ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.windows;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -6790,7 +6790,7 @@ in
|
||||
# built with, and use, that cross-compiled libc.
|
||||
gccCrossStageStatic = assert stdenv.targetPlatform != stdenv.hostPlatform; let
|
||||
libcCross1 =
|
||||
if stdenv.targetPlatform.libc == "msvcrt" then targetPackages.windows.mingw_w64_headers
|
||||
if stdenv.targetPlatform.libc == "msvcrt" then windows.mingw_w64_headers
|
||||
else if stdenv.targetPlatform.libc == "libSystem" then darwin.xcode
|
||||
else null;
|
||||
binutils1 = wrapBintoolsWith {
|
||||
|
Loading…
Reference in New Issue
Block a user