mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-11-10 15:19:01 +03:00
19248b5a15
This reverts commit
|
||
---|---|---|
.. | ||
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-simple | ||
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)