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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
1.1 KiB
Nix
Raw Normal View History

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