nixpkgs/pkgs/os-specific/windows/default.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

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