locallycompact / haskell.nix

Alternative Haskell Infrastructure for Nixpkgs

Home Page:https://input-output-hk.github.io/haskell.nix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Related repos

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.

About

Alternative Haskell Infrastructure for Nixpkgs

https://input-output-hk.github.io/haskell.nix

License:Apache License 2.0


Languages

Language:Nix 94.7%Language:Haskell 4.3%Language:Shell 0.8%Language:C 0.1%Language:JavaScript 0.0%