haskell.nix/test/README.md
Rodney Lorrimar 3bb58214f1
Add cross-compiled musl libc builds of tests (#157)
* 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.
2019-07-02 18:25:40 +10:00

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)