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