mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
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
|
|
'';
|
|
}
|