haskell.nix/test
Hamish Mackenzie fa2fa131fe
Add ghc 9.2.3 (#1491)
Also:

* Updates the GHC's built on CI
* Use Cabal 3.6.2.0 for default Setup
* Fixes haskell-language-server and hlint on CI
2022-06-01 19:33:58 +12:00
..
buildable Add GHC 9.0.1 (#1032) 2021-03-28 21:03:20 +13:00
builder-haddock Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
c-ffi fix ghcjs (#1311) 2022-01-09 03:11:37 +13:00
cabal-22 Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
cabal-doctests niv update nixpkgs-unstable and add ghc 8.10.5 (#1121) 2021-06-15 19:50:45 +12:00
cabal-hpack Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
cabal-simple Add ghc 9.2.3 (#1491) 2022-06-01 19:33:58 +12:00
cabal-simple-debug Add ghc 9.2.3 (#1491) 2022-06-01 19:33:58 +12:00
cabal-simple-prof Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
cabal-source-repo Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
cabal-source-repo-comments Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
cabal-sublib Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
call-cabal-project-to-nix Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
call-stack-to-nix Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
coverage Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
coverage-golden niv update nixpkgs-unstable and add ghc 8.10.5 (#1121) 2021-06-15 19:50:45 +12:00
coverage-no-libs Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
exe-dlls Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
exe-lib-dlls Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
exe-only Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
external-static-plugin Allow packages to specify external static plugins 2022-05-02 11:08:42 -04:00
extra-hackage Improve support for external Hackage repositories (#1370) 2022-02-18 00:42:11 +13:00
fully-static Flakify all inputs (#1180) 2021-08-06 15:54:39 +12:00
ghc-options Remove build-tool-depends for happy and Alex from ghc (#1485) 2022-05-30 23:33:35 +12:00
ghcjs-overlay Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
githash Add GHC 9.0.2 (#1338) 2022-01-09 03:10:05 +13:00
haskell-language-server Add ghc 9.2.3 (#1491) 2022-06-01 19:33:58 +12:00
index-state Add ghc 9.2.3 (#1491) 2022-06-01 19:33:58 +12:00
project-flags Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
setup-deps Work around for packages in lts that do not install. (#1437) 2022-04-20 15:25:21 +12:00
sha256map Improve support for external Hackage repositories (#1370) 2022-02-18 00:42:11 +13:00
shell-for Add GHC 8.10.7 (#1220) 2021-09-01 22:43:31 +12:00
shell-for-setup-deps Add ghc 9.2.3 (#1491) 2022-06-01 19:33:58 +12:00
snapshots Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-local-resolver Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-local-resolver-subdir Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-remote-resolver Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-simple use Cabal 3.6.2.0 (#1328) 2022-01-04 17:53:33 +13:00
stack-source-repo Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
sublib-docs Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
th-dlls Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00
with-packages Fix libnuma dependency in rts.conf (#1342) 2022-02-15 23:49:45 +13:00
default.nix Remove build-tool-depends for happy and Alex from ghc (#1485) 2022-05-30 23:33:35 +12:00
README.md Add cross-compiled musl libc builds of tests (#157) 2019-07-02 18:25:40 +10:00
regen.nix Spelling, typo and whitespace fixes (#833) 2020-08-31 11:08:25 +12:00
tests.sh Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
unit.nix Avoid filtering repo to just 01-index.tar.gz file (#1432) 2022-04-14 02:35:37 +12: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)