This fork contains a patched version of GHCJS 8.10 which improves performance and memory usage.
For more info see this PR: input-output-hk#1306
This branch is updated every day with commits from https://github.com/input-output-hk/haskell.nix/tree/master. This means that it receives all of the updates the initial project does.
Building the patched compiler itself takes around 2-3 hours. The Typeable public nix cache probably has a cached version of the compiler. You can follow these instruction to set it up: app.cachix.org/organization/typeable/cache/typeable.
haskell.nix
can automatically translate your Cabal or Stack project and
its dependencies into Nix code.
- Introduction
- Getting Started
- Troubleshooting
- Explore the documentation from there to find further topics.
The #1 problem that people have when using haskell.nix
is that they find themselves building GHC.
This should not happen, but you must follow the haskell.nix
setup instructions properly to avoid it.
If you find this happening to you, please check that you have followed the
getting started instructions and
consult the corresponding troubleshooting section.
The troubleshooting documentation also contains some help for other common issues. Please give it a read before asking on IRC or opening an issue.
If you're still stuck, join the #haskell.nix channel on irc.libera.chat, or open an issue.
The haskell.nix
repository contains the runtime system for building
Haskell packages in Nix. It depends on other repos, which are:
-
nix-tools
— provides the programs for generating Nix expressions from Haskell projects. -
hackage.nix
— the latest contents of the Hackage databases, converted to Nix expressions. -
stackage.nix
— all of the Stackage snapshots, converted to Nix expressions.