Skip to content

Commit 16f0128

Browse files
committed
Disable Windows cross-compilation pending nixpkgs-2511 fix
nixpkgs-2511's crossThreadsStdenv resolves to native Linux stdenv instead of the cross-compiling stdenv, causing mcfgthread and mingw_w64_pthreads to fail during GCC cross-compiler bootstrap. This is a deep nixpkgs issue that can't be fixed via overlays because cross-compilation package set stages evaluate overlays independently. Disable Windows builds until upstream is fixed.
1 parent 77911c5 commit 16f0128

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

flake.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,9 @@
175175
"ghc94"
176176
"ghc910"
177177
];
178-
windows-compilers = pkgs:
179-
pkgs.lib.optionalAttrs (__elem system ["x86_64-linux"])
180-
(builtins.removeAttrs (compilers pkgs)
181-
[
182-
]);
178+
# Windows cross-compilation disabled pending nixpkgs-2511
179+
# crossThreadsStdenv fix (mcfgthread/pthreads bootstrap).
180+
windows-compilers = _pkgs: {};
183181
in (builtins.mapAttrs (short-name: args:
184182
import ./dynamic.nix (args // { withIOG = false; })
185183
) (compilers pkgs)

0 commit comments

Comments
 (0)