# Windows x86_64 cross toolchain (mingw-w64, UCRT runtime, static winpthreads). # nix-shell shell-win.nix --run 'scripts/bootstrap_windows.sh' { pkgs ? import { } }: let win = pkgs.pkgsCross.ucrt64; in win.mkShell { nativeBuildInputs = with pkgs; [ cmake ninja gnumake git perl python3 pkg-config zip curl nsis ]; buildInputs = [ win.windows.pthreads ]; # mkShell exports CC/AR for the target; the build scripts call the prefixed tools directly. shellHook = '' export MINGW_HOST=x86_64-w64-mingw32 ''; }