summary refs log tree commit diff
path: root/pkgs/os-specific/windows/mingw-headers/default.nix
blob: c6941ef01f0a7043043ba69bcd9d6de56203dcb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{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
  '';
}