Skip to content

Commit 04f0f30

Browse files
committed
test hydra CI builds with new flake fix
1 parent 03c0c4e commit 04f0f30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flake.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
inherit compiler-nix-name;
119119
});
120120
# we also want cross compilation to windows.
121-
crossPlatforms = p: lib.optional (system == "x86_64-linux" && config.compiler-nix-name != "ghc8107") p.mingwW64;
121+
crossPlatforms = p: lib.optional (system == "x86_64-linux" && config.compiler-nix-name != "ghc8107") p.ucrt64;
122122
};
123123

124124
# package customizations as needed. Where cabal.project is not
@@ -157,6 +157,9 @@
157157
packages.terminal-size.components.library.build-tools = lib.mkForce [];
158158
packages.network.components.library.build-tools = lib.mkForce [];
159159
})
160+
({pkgs, ...}: lib.mkIf pkgs.stdenv.hostPlatform.isWindows {
161+
packages.basement.configureFlags = [ "--hsc2hs-options=--cflag=-Wno-int-conversion" ];
162+
})
160163
];
161164
});
162165
# ... and construct a flake from the cabal project

0 commit comments

Comments
 (0)