summary refs log tree commit diff
path: root/pkgs/top-level/release-cross.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/top-level/release-cross.nix')
-rw-r--r--pkgs/top-level/release-cross.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix
index 571484f05409..93b0b517bd17 100644
--- a/pkgs/top-level/release-cross.nix
+++ b/pkgs/top-level/release-cross.nix
@@ -121,4 +121,19 @@ let
   };
 in {
   crossUltraSparcLinux = mapTestOnCross crossSystem basic;
+}) // (
+
+/* Test some cross builds on mingw32 */
+let
+  crossSystem = {
+      config = "i686-pc-mingw32";
+      arch = "x86";
+      libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain
+      platform = {};
+  };
+in {
+  crossMingw32 = mapTestOnCross crossSystem {
+    wxGTK.hostDrv = nativePlatforms;
+    gccCrossStageFinal = nativePlatforms;
+  };
 })