From e044b4ac79da7b55b778c7b1268c4a310fd1a02e Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Thu, 31 Jul 2025 11:42:19 -0400 Subject: [PATCH] top-level: Add support for MSVC SDK --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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