mirror of iohk/haskell.nix for development use https://input-output-hk.github.io/haskell.nix
  • Nix 87.7%
  • Haskell 11.6%
  • Shell 0.6%
Find a file
2026-02-07 00:53:27 +00:00
.github Update nix-tools to use Cabal 3.16 (#2471) 2026-01-29 21:36:53 +13:00
builder Add prebuilt-depends for proprietary dependencies. (#2444) 2025-12-13 09:32:48 +13:00
compiler fix(wasm): wasm-opt flags for libffi-wasm (#2463) 2026-01-06 20:27:39 +13:00
docs Add GHC 9.10.3 (#2454) 2025-11-21 20:06:02 +13:00
hix Fix cross compilation TH in devShells (#2415) 2025-07-23 22:06:54 +12:00
lazy-inputs Add GHC 9.10.3 (#2454) 2025-11-21 20:06:02 +13:00
lib Add isMhs flag to OS/architecture/compiler configuration. (#2473) 2026-01-29 11:45:45 +13:00
materialized Add GHC 9.10.3 (#2454) 2025-11-21 20:06:02 +13:00
mk-local-hackage-repo Fix index-sha256 bit rot (#2390) 2025-06-20 09:45:06 +12:00
modules Add prebuilt-depends for proprietary dependencies. (#2444) 2025-12-13 09:32:48 +13:00
nix-tools Update nix-tools to use Cabal 3.16 (#2471) 2026-01-29 21:36:53 +13:00
overlays Fix crypton-x509-system win cross-compile (#2472) 2026-02-03 22:58:51 +13:00
patches Add haskell-language-server-2.2.0.0 (#2038) 2023-08-30 22:44:15 +12:00
scripts Move doc upload into its own GitHub workflow (#2371) 2025-05-22 16:34:50 +12:00
test Use haskell-language-server 2.12 (#2465) 2026-01-06 09:56:16 +13:00
theme Fix #518: examples in documentation need to be tested (#1714) 2022-10-06 10:36:38 +02:00
.envrc Set up direnv (#1578) 2022-08-09 09:23:59 +00:00
.gitattributes Update ghc 8.4.4 based tools to ghc 8.6.5 (#618) 2020-05-21 11:31:26 +12:00
.gitignore Add test/cabal.project.local (#2055) 2023-09-15 04:32:26 +12:00
book.toml Update motivation (#2006) 2023-12-09 12:03:09 +13:00
BUGLOG Update nixpkgs pins (#2156) 2024-07-12 23:44:27 +12:00
build.nix Use haskell-language-server 2.12 (#2465) 2026-01-06 09:56:16 +13:00
changelog.md Update shellFor documentation (#2406) 2025-07-03 13:30:24 +12:00
ci-lib.nix % nix run github:astro/deadnix -- --edit --no-lambda-pattern-names --exclude ./materialized (#1756) 2023-09-21 10:30:33 +02:00
ci.nix Update nix-tools to use Cabal 3.16 (#2471) 2026-01-29 21:36:53 +13:00
config.nix Remove openssl-1.0.2u from list of whitelisted insecure packages (#1492) 2022-05-31 11:00:36 +12:00
COPYING License Apache 2.0 2019-04-29 11:08:31 +08:00
default.nix Add nixpkgs-2511 (#2456) 2025-12-05 17:05:45 +13:00
dimension.nix Tidy ci.nix using dimension (#500) 2020-03-20 20:52:34 +13:00
flake.lock Update Hackage and Stackage 2026-02-07 00:53:27 +00:00
flake.nix Use haskell-language-server 2.12 (#2465) 2026-01-06 09:56:16 +13:00
nix-tools-static-for-default-setup.nix Update Default Setup (#2402) 2025-07-03 08:06:46 +12:00
nix-tools-static.nix Update nix-tools to use Cabal 3.16 (#2471) 2026-01-29 21:36:53 +13:00
package-set.nix Fix nixpkgs warnings (#2457) 2025-12-03 15:35:06 +13:00
README.md Update README.md (#2149) 2024-01-26 13:57:09 +08:00
release-linux-only.nix Add GHC 9.0.1 (#1032) 2021-03-28 21:03:20 +13:00
release.nix % nix run github:astro/deadnix -- --edit --no-lambda-pattern-names --exclude ./materialized (#1756) 2023-09-21 10:30:33 +02:00
shell.nix Bump flake-compat to latest iohk version (#1655) 2022-09-12 14:38:40 +12:00
snapshots.nix fix mkSnapshot (#2336) 2025-03-21 13:00:51 +13: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. If you're still stuck open an issue.

The haskell.nix repository contains the runtime system for building Haskell packages in Nix. It depends on other repos, which are:

Note

For commercial support, please don't hesitate to reach out at devx@iohk.io