diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e5f6ca7bd24b..bcf6eb4dc592 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8147,9 +8147,9 @@ with pkgs; else if libc == "musl" then musl else if libc == "msvcrt" then - windows.mingw_w64 + if stdenv.hostPlatform.isMinGW then windows.mingw_w64 else windows.sdk else if libc == "ucrt" then - windows.mingw_w64 + if stdenv.hostPlatform.isMinGW then windows.mingw_w64 else windows.sdk else if libc == "libSystem" then if stdenv.hostPlatform.useiOSPrebuilt then darwin.iosSdkPkgs.libraries else darwin.libSystem else if libc == "fblibc" then