mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
* Add cross-compiled musl libc builds of tests * Bump nixpkgs to latest 19.03 * tests: Update stack-simple LTS * docs: Add note about tests * Regenerate tests * haskellPackages: lts-13.18 -> lts-13.26 This contains GHC 8.6.5 which can successfully build under pkgsCross.musl64, whereas GHC 8.6.4 could not. * Bump nix-tools * Regenerate nix-tools -- changed compiler from GHC 8.6.4 -> GHC 8.6.5.
18 lines
398 B
Markdown
18 lines
398 B
Markdown
### 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)
|