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

14 lines
294 B
Nix
Raw Normal View History

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