mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
Generation the Haddock documentation for a component in a dedicated derivation (instead of as part of the derivation to build the component). This means that the haddock documents will not be built until they are required for instance in a shellFor shell. Co-authored-by: Richard Wallace <richard.wallace@simspace.com>
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)