We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98d2a05 commit 6255f64Copy full SHA for 6255f64
nix/ouroboros-network.nix
@@ -53,7 +53,7 @@ let
53
54
# we also want cross compilation to windows on linux (and only with default compiler).
55
crossPlatforms =
56
- p: lib.optionals (pkgs.stdenv.hostPlatform.isLinux && config.compiler-nix-name == crossGHCVersion) [ p.mingwW64 ];
+ p: lib.optionals (pkgs.stdenv.hostPlatform.isLinux && config.compiler-nix-name == crossGHCVersion) [ p.ucrt64 ];
57
58
#
59
# VARIANTS
@@ -109,6 +109,9 @@ let
109
packages.ouroboros-network.components.tests.sim-tests.preCheck =
110
if buildSystem == "x86_64-linux" then "export GHCRTS=-M600M" else "";
111
})
112
+ ({pkgs, ...}: lib.mkIf pkgs.stdenv.hostPlatform.isWindows {
113
+ packages.basement.configureFlags = [ "--hsc2hs-options=--cflag=-Wno-int-conversion" ];
114
+ })
115
];
116
});
117
in
0 commit comments