nixpkgs/pkgs/os-specific/windows/mingw-headers/default.nix

14 lines
295 B
Nix
Raw Normal View History

{stdenv, mingw_runtime_headers, w32api_headers}:
stdenv.mkDerivation {
name = "mingw-headers";
phases = [ "installPhase" ];
installPhase = ''
ensureDir $out/include
cp -R ${mingw_runtime_headers}/include/* $out/include
cp -R ${w32api_headers}/include/* $out/include
'';
}