at 23.05-pre 47 lines 1.1 kB view raw
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 jom = callPackage ./jom { }; 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.gccCrossStageStatic.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 = callPackage ./mcfgthreads { 37 stdenv = crossThreadsStdenv; 38 }; 39 40 npiperelay = callPackage ./npiperelay { }; 41 42 pthreads = callPackage ./pthread-w32 { }; 43 44 wxMSW = callPackage ./wxMSW-2.8 { }; 45 46 libgnurx = callPackage ./libgnurx { }; 47})