haskell.nix/test
Hamish Mackenzie 15fc6b3774
Add ghc 8.10.1 (#541)
* ghc 8.10
* Adds/Updates/Removes materialization files
* Disable one-shot-kqueue-on-macos patch on ghc-8.10
* Test ghc883 and ghc8101 but only with nix 20.03
* Various smaller fixes.

This should fix the infinite recursion issue with #654

Co-authored-by: Lennart Spitzner <hexagoxel@hexagoxel.de>
2020-06-07 11:05:44 +08:00
..
buildable Add missing pins and test ghc865 and ghc883 (#641) 2020-06-02 11:44:03 +12:00
builder-haddock Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
cabal-22 Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
cabal-simple Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
cabal-simple-prof Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
cabal-source-repo Add missing pins and test ghc865 and ghc883 (#641) 2020-06-02 11:44:03 +12:00
cabal-sublib Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
call-cabal-project-to-nix Add missing pins and test ghc865 and ghc883 (#641) 2020-06-02 11:44:03 +12:00
call-stack-to-nix Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
compiler-nix-name Fix compiler-nix-name test for mingwW64 (#613) 2020-05-17 17:08:03 +12:00
exe-only Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
extra-hackage Update default.nix 2020-05-02 19:24:52 +08:00
fully-static Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
ghc-options Add missing pins and test ghc865 and ghc883 (#641) 2020-06-02 11:44:03 +12:00
lookup-sha256 Add missing pins and test ghc865 and ghc883 (#641) 2020-06-02 11:44:03 +12:00
project-flags Add missing pins and test ghc865 and ghc883 (#641) 2020-06-02 11:44:03 +12:00
setup-deps Add missing pins and test ghc865 and ghc883 (#641) 2020-06-02 11:44:03 +12:00
shell-for Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
shell-for-setup-deps Add missing pins and test ghc865 and ghc883 (#641) 2020-06-02 11:44:03 +12:00
snapshots Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
stack-local-resolver Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
stack-simple Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
stack-source-repo Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
with-packages Add pins and materialization for ghc-boot-packages and ghc-extra-packages (#546) 2020-04-20 13:27:52 +12:00
default.nix Add ghc 8.10.1 (#541) 2020-06-07 11:05:44 +08:00
README.md Add cross-compiled musl libc builds of tests (#157) 2019-07-02 18:25:40 +10:00
regen.nix Expose our nixpkgs pins by restructuring default.nix (#514) 2020-03-31 09:12:40 +08:00
tests.sh Update tests.sh 2020-05-02 19:06:54 +08:00
unit.nix tests: Add unit tests for library functions 2019-01-30 15:38:38 +10:00
util.nix tests: Add more tests for "all" component merging 2019-02-07 09:39:12 +08:00

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)