mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
* Define release.nix in terms of ci.nix Beef up ci.nix to handle the same things as release.nix, then implement the one in terms of the other. * Fix infinite loop in evaluating release.nix with high ifdLevel * Add tests to cross-compile * Remove obsolete fix * Do generic platform filtering * Undefined variable * Extract ci-lib.nix * More undefined variables * Use filterAttrsOnlyRecursive to avoid forcing all the drv attributes * Set ifdLevel 0 to see if it fixes hydra eval * Turn off tests on aarch64 cross * Ifd level 1 * Ifd level 2 * Ifd level 3 * Maybe it's required that's too big? Co-authored-by: Hamish Mackenzie <Hamish.Mackenzie@iohk.io>
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)