A fork of haskell.nix with a more efficient GHCJS 8.10 compiler
Go to file
2019-02-20 16:17:44 +08:00
builder Revert "builder: Remove self from depends of "all" component" 2019-02-20 16:17:44 +08:00
doc doc: Add note about hackage and stackage update scripts 2019-02-13 14:51:10 +10:00
lib Provide hackage and stackage from haskell.nix 2019-02-13 14:51:10 +10:00
modules Fix cross build of withPackage wrapper 2019-02-14 09:35:57 +08:00
nix-tools Add nix-tools 2019-02-13 14:51:10 +10:00
patches no patch versions 2019-01-18 16:03:54 +08:00
scripts Add a script for updating the Stackage rev 2019-02-13 14:51:10 +10:00
test tests: Add stack-simple 2019-02-13 14:51:10 +10:00
.gitignore adds gitignore 2018-10-25 16:26:41 +08:00
.travis.yml tests: add shell script which runs all tests 2019-01-30 15:38:38 +10:00
default.nix Adds mkCabalProjectPkgsSet 2019-02-15 15:40:14 +08:00
hackage-src.json Provide hackage and stackage from haskell.nix 2019-02-13 14:51:10 +10:00
package-set.nix Drop compat 2019-01-27 11:31:49 +08:00
README.org Update readme 2019-02-13 14:51:10 +10:00
stackage-src.json Provide hackage and stackage from haskell.nix 2019-02-13 14:51:10 +10:00

Alternative Haskell Infrastructure for Nixpkgs

https://travis-ci.org/input-output-hk/haskell.nix.svg?branch=master

haskell.nix is an experimental new builder for Haskell packages.

It works by automatically translating your Cabal or Stack project and its dependencies into Nix code. Most of your dependencies are already translated, so you generally won't have too much generated code.

For full documentation, see https://input-output-hk.github.io/haskell.nix

Quickstart

This will download and build nix-tools.

nix build -f https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz nix-tools -o nt
./nt/bin/cabal-to-nix --help

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.