A fork of haskell.nix with a more efficient GHCJS 8.10 compiler
Go to file
Hamish Mackenzie e95a1f0dac
Update nixpkgs pins. Turn off CI for nixpkgs-2105 (#1308)
* Turn off haskell.nix tests for nixpkgs-2105
* nix flake lock --update-input the nixpkgs pins
* Update docs
2021-12-13 18:05:15 +13:00
.buildkite Add GHC 8.10.7 (#1220) 2021-09-01 22:43:31 +12:00
builder Update ghcjs810-src.json (#1291) 2021-11-17 02:17:02 +13:00
compiler Use ghcjs that includes a shim for __dirname (#1296) 2021-11-18 23:19:29 +13:00
docs Update nixpkgs pins. Turn off CI for nixpkgs-2105 (#1308) 2021-12-13 18:05:15 +13:00
hix Flakify all inputs (#1180) 2021-08-06 15:54:39 +12:00
lib Add ssh2 to lib/system-nixpkgs-map.nix (#1310) 2021-12-09 19:09:56 +00:00
materialized Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
mk-local-hackage-repo Throw better error when conf files are missing (#1030) 2021-02-08 03:13:31 +13:00
modules Add nixos-21.11 builds. (#1304) 2021-12-07 12:55:20 +13:00
overlays Fix for emscripten (#1294) 2021-11-17 11:19:52 +13:00
patches Fix singletons patch (#409) 2020-01-21 17:10:48 +08:00
scripts Fix check-hydra test (#1312) 2021-12-13 03:16:35 +13:00
test Fix check-hydra test (#1312) 2021-12-13 03:16:35 +13:00
.gitattributes Update ghc 8.4.4 based tools to ghc 8.6.5 (#618) 2020-05-21 11:31:26 +12:00
.gitignore bump nix tools (#476) 2020-03-06 17:19:45 +08:00
bors.toml Add bors.toml to enable bors 2020-03-05 12:22:57 +13:00
build.nix Add nixos-21.11 builds. (#1304) 2021-12-07 12:55:20 +13:00
changelog.md Flakify all inputs (#1180) 2021-08-06 15:54:39 +12:00
ci-lib.nix Flakify all inputs (#1180) 2021-08-06 15:54:39 +12:00
ci.nix Update nixpkgs pins. Turn off CI for nixpkgs-2105 (#1308) 2021-12-13 18:05:15 +13:00
config.nix drop the prebuilt rocksdb (#775) 2020-07-21 10:00:26 +08:00
COPYING License Apache 2.0 2019-04-29 11:08:31 +08:00
default.nix Update flake-compat (#1252) 2021-09-28 17:26:52 +13:00
dimension.nix Tidy ci.nix using dimension (#500) 2020-03-20 20:52:34 +13:00
flake.lock Update nixpkgs pins. Turn off CI for nixpkgs-2105 (#1308) 2021-12-13 18:05:15 +13:00
flake.nix Add nixos-21.11 builds. (#1304) 2021-12-07 12:55:20 +13:00
hackage-src.json Update Hackage and Stackage 2021-08-06 01:13:20 +00:00
mkdocs.yml fix typo (#1213) 2021-08-25 11:51:47 +12:00
package-set.nix Updated system-nixpkgs-map.nix and a default for X11 package (fixes #984) (#988) 2021-01-08 13:10:00 +13:00
README.md Update IRC 2021-05-24 16:07:06 +08:00
release-linux-only.nix Add GHC 9.0.1 (#1032) 2021-03-28 21:03:20 +13:00
release.nix Update nixpkgs pins. Turn off CI for nixpkgs-2105 (#1308) 2021-12-13 18:05:15 +13:00
shell.nix Flakify all inputs (#1180) 2021-08-06 15:54:39 +12:00
snapshots.nix Better support for source-repository-packages, only include planned components and pick latest packages (#1166) 2021-07-23 14:27:56 +12:00
stackage-src.json Update Hackage and Stackage 2021-08-05 01:13:16 +00:00

haskell.nix is infrastructure for building Haskell packages with Nix

haskell.nix can automatically translate your Cabal or Stack project and its dependencies into Nix code.

Documentation

Help! Something isn't working

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.