1{ lib, stdenv, buildPackages
2, newScope, overrideCC, crossLibcStdenv, libcCross
3}:
4
5lib.makeScope newScope (self: with self; {
6
7 cygwinSetup = callPackage ./cygwin-setup { };
8
9 dlfcn = callPackage ./dlfcn { };
10
11 w32api = callPackage ./w32api { };
12
13 mingwrt = callPackage ./mingwrt { };
14 mingw_runtime = mingwrt;
15
16 mingw_w64 = callPackage ./mingw-w64 {
17 stdenv = crossLibcStdenv;
18 };
19
20 crossThreadsStdenv = overrideCC crossLibcStdenv
21 (if stdenv.hostPlatform.useLLVM or false
22 then buildPackages.llvmPackages_8.clangNoLibcxx
23 else buildPackages.gccWithoutTargetLibc.override (old: {
24 bintools = old.bintools.override {
25 libc = libcCross;
26 };
27 libc = libcCross;
28 }));
29
30 mingw_w64_headers = callPackage ./mingw-w64/headers.nix { };
31
32 mingw_w64_pthreads = callPackage ./mingw-w64/pthreads.nix {
33 stdenv = crossThreadsStdenv;
34 };
35
36 mcfgthreads_pre_gcc_13 = callPackage ./mcfgthreads/pre_gcc_13.nix {
37 stdenv = crossThreadsStdenv;
38 };
39
40 mcfgthreads = callPackage ./mcfgthreads {
41 stdenv = crossThreadsStdenv;
42 };
43
44 npiperelay = callPackage ./npiperelay { };
45
46 pthreads = callPackage ./pthread-w32 { };
47
48 wxMSW = callPackage ./wxMSW-2.8 { };
49
50 libgnurx = callPackage ./libgnurx { };
51})