mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
.. | ||
buildable | ||
builder-haddock | ||
cabal-22 | ||
cabal-simple | ||
cabal-simple-prof | ||
cabal-source-repo | ||
cabal-sublib | ||
call-cabal-project-to-nix | ||
call-stack-to-nix | ||
exe-only | ||
fully-static | ||
ghc-options | ||
project-flags | ||
setup-deps | ||
shell-for | ||
shell-for-setup-deps | ||
snapshots | ||
stack-local-resolver | ||
stack-simple | ||
stack-source-repo | ||
with-packages | ||
default.nix | ||
README.md | ||
regen.nix | ||
tests.sh | ||
unit.nix | ||
util.nix |
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)