You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
331 B
19 lines
331 B
{ stdenvNoCC, mingw_w64 }:
|
|
|
|
let
|
|
crt = stdenvNoCC.hostPlatform.libc;
|
|
in stdenvNoCC.mkDerivation {
|
|
name = "${mingw_w64.name}-headers";
|
|
inherit (mingw_w64) src meta;
|
|
|
|
preConfigure = ''
|
|
cd mingw-w64-headers
|
|
'';
|
|
|
|
configureFlags = [
|
|
"--enable-idl"
|
|
"--enable-secure-api"
|
|
"--with-default-msvcrt=${crt}"
|
|
];
|
|
|
|
}
|
|
|