8a3489e1dc
* Better defaults (doExactConfig = true; non-reinstallable lib:ghc) Disabling haddocks by default has unintended consequences, as such we'll wait for the `.doc` derivation to solve this. Fixes #201, #191 |
||
---|---|---|
.buildkite | ||
builder | ||
docs | ||
lib | ||
mk-local-hackage-repo | ||
modules | ||
nix-tools | ||
nixpkgs | ||
patches | ||
scripts | ||
test | ||
.gitattributes | ||
.gitignore | ||
build.nix | ||
changelog.md | ||
COPYING | ||
default.nix | ||
hackage-src.json | ||
mkdocs.yml | ||
package-set.nix | ||
README.org | ||
release.nix | ||
shell.nix | ||
snapshots.nix | ||
stackage-src.json |
Alternative Haskell Infrastructure for Nixpkgs
https://badge.buildkite.com/d453edcd29bd2f8f3f3b32c9b7d6777a33773d9671c37a6ccc.svg?branch=master https://img.shields.io/buildkite/c8d5a20d3ff0f440f82adb9190b43c16c91e5e47e8adfa867a/master.svg?label=nightly%20updates
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 the 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/stack-to-nix
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.
IRC Channel
Join the #haskell.nix channel on irc.freenode.net to get help or discuss
the development of haskell.nix
and nix-tools
.