2021-01-15 14:45:37 +00:00
|
|
|
{ lib, stdenv, buildPackages
|
2019-11-11 03:35:59 +00:00
|
|
|
, newScope, overrideCC, crossLibcStdenv, libcCross
|
|
|
|
}:
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2021-01-15 14:45:37 +00:00
|
|
|
lib.makeScope newScope (self: with self; {
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
cygwinSetup = callPackage ./cygwin-setup { };
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
jom = callPackage ./jom { };
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
w32api = callPackage ./w32api { };
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
mingwrt = callPackage ./mingwrt { };
|
|
|
|
mingw_runtime = mingwrt;
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
mingw_w64 = callPackage ./mingw-w64 {
|
|
|
|
stdenv = crossLibcStdenv;
|
|
|
|
};
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:35:59 +00:00
|
|
|
crossThreadsStdenv = overrideCC crossLibcStdenv
|
|
|
|
(if stdenv.hostPlatform.useLLVM or false
|
2021-05-01 04:03:19 +01:00
|
|
|
then buildPackages.llvmPackages_8.clangNoLibcxx
|
2019-11-11 03:35:59 +00:00
|
|
|
else buildPackages.gccCrossStageStatic.override (old: {
|
|
|
|
bintools = old.bintools.override {
|
|
|
|
libc = libcCross;
|
|
|
|
};
|
|
|
|
libc = libcCross;
|
|
|
|
}));
|
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
mingw_w64_headers = callPackage ./mingw-w64/headers.nix { };
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:35:59 +00:00
|
|
|
mingw_w64_pthreads = callPackage ./mingw-w64/pthreads.nix {
|
|
|
|
stdenv = crossThreadsStdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
mcfgthreads = callPackage ./mcfgthreads {
|
|
|
|
stdenv = crossThreadsStdenv;
|
|
|
|
};
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2022-05-18 13:15:04 +01:00
|
|
|
npiperelay = callPackage ./npiperelay { };
|
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
pthreads = callPackage ./pthread-w32 { };
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
wxMSW = callPackage ./wxMSW-2.8 { };
|
2018-08-06 21:25:25 +01:00
|
|
|
|
2019-11-11 03:32:31 +00:00
|
|
|
libgnurx = callPackage ./libgnurx { };
|
|
|
|
})
|