2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, buildPackages
|
2020-04-24 23:36:52 +00:00
|
|
|
, newScope, overrideCC, crossLibcStdenv, libcCross
|
|
|
|
}:
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
lib.makeScope newScope (self: with self; {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
cygwinSetup = callPackage ./cygwin-setup { };
|
|
|
|
|
|
|
|
jom = callPackage ./jom { };
|
|
|
|
|
|
|
|
w32api = callPackage ./w32api { };
|
|
|
|
|
|
|
|
mingwrt = callPackage ./mingwrt { };
|
|
|
|
mingw_runtime = mingwrt;
|
|
|
|
|
|
|
|
mingw_w64 = callPackage ./mingw-w64 {
|
|
|
|
stdenv = crossLibcStdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
crossThreadsStdenv = overrideCC crossLibcStdenv
|
|
|
|
(if stdenv.hostPlatform.useLLVM or false
|
2021-05-28 09:39:13 +00:00
|
|
|
then buildPackages.llvmPackages_8.clangNoLibcxx
|
2020-04-24 23:36:52 +00:00
|
|
|
else buildPackages.gccCrossStageStatic.override (old: {
|
|
|
|
bintools = old.bintools.override {
|
|
|
|
libc = libcCross;
|
|
|
|
};
|
|
|
|
libc = libcCross;
|
|
|
|
}));
|
|
|
|
|
|
|
|
mingw_w64_headers = callPackage ./mingw-w64/headers.nix { };
|
|
|
|
|
|
|
|
mingw_w64_pthreads = callPackage ./mingw-w64/pthreads.nix {
|
|
|
|
stdenv = crossThreadsStdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
mcfgthreads = callPackage ./mcfgthreads {
|
|
|
|
stdenv = crossThreadsStdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
pthreads = callPackage ./pthread-w32 { };
|
|
|
|
|
|
|
|
wxMSW = callPackage ./wxMSW-2.8 { };
|
|
|
|
|
|
|
|
libgnurx = callPackage ./libgnurx { };
|
|
|
|
})
|