mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-11-14 13:57:36 +03:00
dedb91e725
* Add sha256 to source-repository-packages for hydra This allows source-repository-package to be downloaded and replaced in with `package: /nix/store/...` by callCabalPackageToNix so that `cabal` and `plan-to-nix` do not need to download them. |
||
---|---|---|
.. | ||
builder-haddock | ||
cabal-22 | ||
cabal-simple | ||
cabal-simple-prof | ||
cabal-source-repo | ||
cabal-sublib | ||
call-cabal-project-to-nix | ||
call-stack-to-nix | ||
shell-for | ||
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)