on 147cf21 help sign in
haskell.nix/README.org
42 lines 1.9 kB history raw
1#+STARTUP: showall hidestars
3* Alternative Haskell Infrastructure for Nixpkgs
5[[https://buildkite.com/input-output-hk/haskell-dot-nix][https://badge.buildkite.com/d453edcd29bd2f8f3f3b32c9b7d6777a33773d9671c37a6ccc.svg?branch=master]]
6[[https://buildkite.com/input-output-hk/haskell-dot-nix-nightly-updates][https://img.shields.io/buildkite/c8d5a20d3ff0f440f82adb9190b43c16c91e5e47e8adfa867a/master.svg?label=nightly%20updates]]
8=haskell.nix= is an experimental new builder for Haskell packages.
10It works by automatically translating your Cabal or Stack project and
11its dependencies into Nix code. Most of your dependencies are already
12translated, so you generally won't have too much generated code.
14For the documentation, see https://input-output-hk.github.io/haskell.nix/.
16** Quickstart
18This will download and build =nix-tools=.
20#+begin_src sh
21nix build -f https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz nix-tools -o nt
22./nt/bin/stack-to-nix
23#+end_src
25** Related repos
27The =haskell.nix= repository contains the runtime system for building
28Haskell packages in Nix. It depends on other repos, which are:
30- [[https://github.com/input-output-hk/nix-tools][nix-tools]] — provides the programs for generating Nix expressions from
31 Haskell projects.
33- [[https://github.com/input-output-hk/hackage.nix][hackage.nix]] — the latest contents of the [[https://hackage.haskell.org/][Hackage]] databases,
34 converted to Nix expressions.
36- [[https://github.com/input-output-hk/stackage.nix][stackage.nix]] — all of the [[https://www.stackage.org/][Stackage]] snapshots, converted to Nix
37 expressions.
39** IRC Channel
41Join the [[https://www.irccloud.com/invite?channel=%23haskell.nix&hostname=irc.freenode.net&port=6697&ssl=1][#haskell.nix]] channel on [[https://freenode.net/][irc.freenode.net]] to get help or discuss
42the development of =haskell.nix= and =nix-tools=.