mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
It looks like we can't use 8.8 for booting due to https://gitlab.haskell.org/ghc/ghc/-/issues/18143 * Adds nixpkgs 20.09 to get mingw-w64 version 6 (also needed for ghc 8.10 windows cross compile) * Add materialization for ghc 8.10.2 windows cross * Fix issue with harfbuzz override so it works with nixpkgs 20.09 * Fixes eval time issue for windows index-state test (turns off native-dns cabal flag for windows) * Include exe extension for windows in coverage test lib:ghc is still broken for ghc 8.10 (all variants), but it always has been and we should try to fix it properly, but it will be very tricky.
Haskell infrastructure test cases
To build the test cases, run from the test directory:
nix-build --no-out-link default.nix
To run all tests (includes impure tests), use the script:
./tests.sh
Generated code
If you change the test Cabal files or need to regenerate the code with
nix-tools, then see regen.nix. Run it like this:
$(nix-build --no-out-link regen.nix)