mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-20 03:18:00 +03:00
cda15dc5b7
This change introduces a `ghc8102-experimental` compiler-nix-name that behaves much like the `ghc8102` version but includes @JoshMeredith's patch `./patches/ghc/ghc-8.10-ubxt.patch` that writes the `cg_binds` field with: ```haskell liftIO $ registerInterfaceDataWith "ghc/phase/core" hsc_env $ \bh -> putWithUserData (const $ return ()) bh (map toIfaceBind $ cg_binds cg_guts) ``` Some of the places where we used to depend on the output of `plan-to-nix` containing the correct `nix-name` for the compiler have been update to avoid using incompatible interface files from the `compiler-nix-name = "ghc8102"` version of GHC. |
||
---|---|---|
.. | ||
buildable | ||
builder-haddock | ||
cabal-22 | ||
cabal-hpack | ||
cabal-simple | ||
cabal-simple-prof | ||
cabal-source-repo | ||
cabal-source-repo-comments | ||
cabal-sublib | ||
call-cabal-project-to-nix | ||
call-stack-to-nix | ||
compiler-nix-name | ||
coverage | ||
exe-only | ||
extra-hackage | ||
fully-static | ||
ghc-options | ||
haskell-language-server | ||
index-state | ||
lookup-sha256 | ||
project-flags | ||
setup-deps | ||
shell-for | ||
shell-for-setup-deps | ||
snapshots | ||
stack-local-resolver | ||
stack-remote-resolver | ||
stack-simple | ||
stack-source-repo | ||
sublib-docs | ||
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)