parent
f32e9a34c8
commit
e575275de7
@ -1,13 +0,0 @@ |
||||
{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 |
||||
''; |
||||
} |
@ -1,11 +0,0 @@ |
||||
{ fetchurl }: |
||||
|
||||
rec { |
||||
version = "5.0.4"; |
||||
name = "mingw-w64-${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://sourceforge/mingw-w64/mingw-w64-v${version}.tar.bz2"; |
||||
sha256 = "00zq3z1hbzd5yzmskskjg79xrzwsqx7ihyprfaxy4hb897vf29sm"; |
||||
}; |
||||
} |
@ -1,15 +1,13 @@ |
||||
{ stdenvNoCC, callPackage }: |
||||
{ stdenvNoCC, mingw_w64 }: |
||||
|
||||
let |
||||
inherit (callPackage ./common.nix {}) name src; |
||||
|
||||
in stdenvNoCC.mkDerivation { |
||||
name = name + "-headers"; |
||||
inherit src; |
||||
stdenvNoCC.mkDerivation { |
||||
name = "${mingw_w64.name}-headers"; |
||||
inherit (mingw_w64) src meta; |
||||
|
||||
patches = [ ./osvi.patch ]; |
||||
|
||||
preConfigure = '' |
||||
cd mingw-w64-headers |
||||
''; |
||||
|
||||
} |
||||
|
Loading…
Reference in new issue