Skip to content

Commit 1ee5ab7

Browse files
committed
Add back fix compiling for basement in haskell.nix
1 parent 273719d commit 1ee5ab7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nix/haskell.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ let
3535
extraSrcFiles = [ "golden/${n}/**/*" ];
3636
}) [ "byron" "shelley" "cardano" ]);
3737
}
38+
({ pkgs, lib, ... }: lib.mkIf pkgs.stdenv.hostPlatform.isWindows {
39+
# https://github.com/input-output-hk/haskell.nix/issues/2332
40+
packages.basement.configureFlags = [ "--hsc2hs-option=--cflag=-Wno-int-conversion" ];
3841
({ pkgs, ... }: {
3942
# Tools for CBOR/CDDL tests:
4043
packages.ouroboros-consensus-cardano.components.tests.cardano-test = {

0 commit comments

Comments
 (0)