A fork of haskell.nix with a more efficient GHCJS 8.10 compiler
Go to file
Hamish Mackenzie 42b10678ff
Add support for setting ghcOptions on all packages (#1046)
`ghcOptions` has been moved from package and is now a list of strings.
    old: packages.x.package.ghcOptions = "someGHCoption";
    new: packages.x.ghcOptions = ["someGHCoption"];
To specify ghcOptions for all packages:
    ghcOptions = ["someGHCoption"];
For a single component:
    packages.x.compoents.library.ghcOptions = ["someGHCoption"];
2021-02-19 00:38:36 +13:00
.buildkite Replace ghc 8.8.3 with 8.8.4 (#766) 2020-07-21 14:10:23 +12:00
builder Add support for setting ghcOptions on all packages (#1046) 2021-02-19 00:38:36 +13:00
compiler Fix the way ExeDependency is handled (#1036) 2021-02-12 10:45:23 +13:00
docs Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
lib Fix filtering package in root of project (#1041) 2021-02-15 16:37:15 +13:00
materialized Update core interface files GHC to 8.10.4 (#1039) 2021-02-16 23:15:55 +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 support for setting ghcOptions on all packages (#1046) 2021-02-19 00:38:36 +13:00
nix Add support for setting ghcOptions on all packages (#1046) 2021-02-19 00:38:36 +13:00
overlays Add support for setting ghcOptions on all packages (#1046) 2021-02-19 00:38:36 +13:00
patches Fix singletons patch (#409) 2020-01-21 17:10:48 +08:00
scripts Update core interface files GHC to 8.10.4 (#1039) 2021-02-16 23:15:55 +13:00
test Add support for setting ghcOptions on all packages (#1046) 2021-02-19 00:38:36 +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 Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
changelog.md Add support for setting ghcOptions on all packages (#1046) 2021-02-19 00:38:36 +13:00
ci-lib.nix Remove internal deps on default ghc and stackage (#738) 2020-07-08 22:54:01 +12:00
ci.nix Update core interface files GHC to 8.10.4 (#1039) 2021-02-16 23:15:55 +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 Add nixpkgs-unstable (#1025) 2021-02-03 22:38:33 +13:00
dimension.nix Tidy ci.nix using dimension (#500) 2020-03-20 20:52:34 +13:00
flake.nix Fix issue with self. in flake (#959) 2020-12-04 20:13:56 +13:00
hackage-src.json Update Hackage and Stackage 2021-02-18 01:15:03 +00:00
mkdocs.yml Move more CI to 20.09 (attempt 2) (#975) 2020-12-17 15:57:09 +00: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 Improve binary caching documentation, make more salient (#875) 2020-10-13 15:37:04 +13:00
release.nix GHC 8.10.4 (#1033) 2021-02-09 14:30:32 +13:00
shell.nix Remove internal deps on default ghc and stackage (#738) 2020-07-08 22:54:01 +12:00
snapshots.nix Add ghc8102-plutus as a compiler-nix-name (#848) 2020-10-21 17:04:47 +13:00
stackage-src.json Update Hackage and Stackage 2021-02-16 01:12:48 +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.freenode.net, 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.