mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
18c38f8aee
This will begin the process of breaking up the `useLLVM` monolith. That is good in general, but I hope will be good for NetBSD and Darwin in particular. Co-authored-by: sterni <sternenseemann@systemli.org>
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ lib, stdenv, buildPackages
|
|
, newScope, overrideCC, crossLibcStdenv, libcCross
|
|
}:
|
|
|
|
lib.makeScope newScope (self: with self; {
|
|
|
|
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
|
|
then buildPackages.llvmPackages_8.clangNoLibcxx
|
|
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 { };
|
|
})
|