forked from mirrors/nixpkgs
c548c084bb
in the crossSystem) svn path=/nixpkgs/trunk/; revision=21630
14 lines
295 B
Nix
14 lines
295 B
Nix
{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
|
|
'';
|
|
}
|