mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
965c7acf2c
* patch hpc to allow files to be used for the list of src dirs, hpc dirs, and includes * delete trailing whitespace * use Response Files for HPC arguments; delete unnecessary patch * Add ghc patch based on what was merged upstream * Fix coverage tests * Update responseFile usage * Enable coverage-no-libs test Co-authored-by: Richard Wallace <rwallace@thewallacepack.net> Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com>
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)