A fork of haskell.nix with a more efficient GHCJS 8.10 compiler
Go to file
Moritz Angermann 8a3489e1dc
Better defaults (doExactConfig = true; non-reinstallable lib:ghc) (#206)
* 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
2019-07-16 15:14:57 +08:00
.buildkite Reduce closure size of nix-tools (#178) 2019-06-15 07:18:06 +02:00
builder Better defaults (doExactConfig = true; non-reinstallable lib:ghc) (#206) 2019-07-16 15:14:57 +08:00
docs Adds hackage-package. (#205) 2019-07-15 20:47:02 +08:00
lib Add sha256 to source-repository-packages for restricted eval mode (#170) 2019-07-16 15:13:31 +08:00
mk-local-hackage-repo Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00
modules Better defaults (doExactConfig = true; non-reinstallable lib:ghc) (#206) 2019-07-16 15:14:57 +08:00
nix-tools Add comment regarding wrapping of -to-nix exes (#208) 2019-07-16 13:03:37 +10:00
nixpkgs Cross comp. & callCabalProjectToNix/callStackToNix (#202) 2019-07-13 22:13:15 +08:00
patches Adds ghc865 logic (#167) 2019-06-08 15:29:27 +08:00
scripts update-hackage: actually modify the hacakge.nix copy of the index state (#187) 2019-06-24 12:32:33 +02:00
test Add sha256 to source-repository-packages for restricted eval mode (#170) 2019-07-16 15:13:31 +08:00
.gitattributes Add .gitattributes for auto-generated files 2019-04-02 12:43:37 +10:00
.gitignore More documentation (#179) 2019-06-15 07:11:52 +02:00
build.nix Reduce closure size of nix-tools (#178) 2019-06-15 07:18:06 +02:00
changelog.md Add ghcWithPackages and ghcWithHoogle to hsPkgs (#150) 2019-06-21 22:40:08 +10:00
COPYING License Apache 2.0 2019-04-29 11:08:31 +08:00
default.nix Better defaults (doExactConfig = true; non-reinstallable lib:ghc) (#206) 2019-07-16 15:14:57 +08:00
hackage-src.json Update Hackage and Stackage 2019-07-16 01:30:43 +00:00
mkdocs.yml docs: Add some information about mapping non-Haskell dependencies (#200) 2019-07-13 17:54:53 +10:00
package-set.nix Rename pkg-def-overlays to pkg-def-extras (#79) 2019-03-15 11:10:57 +08:00
README.org Fix daily Hackage update (#177) 2019-06-15 07:16:52 +02:00
release.nix Add cross-compiled musl libc builds of tests (#157) 2019-07-02 18:25:40 +10:00
shell.nix Cross comp. & callCabalProjectToNix/callStackToNix (#202) 2019-07-13 22:13:15 +08:00
snapshots.nix Add snapshots attribute (#151) 2019-05-27 16:05:42 +08:00
stackage-src.json Update Hackage and Stackage 2019-07-16 01:30:43 +00:00

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.