Skip to content

Commit b688772

Browse files
committed
Add back fix compiling for basement in haskell.nix
1 parent 35b793a commit b688772

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nix/haskell.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ 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" ];
41+
})
3842
({ pkgs, ... }: {
3943
# Tools for CBOR/CDDL tests:
4044
packages.ouroboros-consensus-cardano.components.tests.cardano-test = {

0 commit comments

Comments
 (0)