on shell-for-plus help sign in
haskell.nix/README.org
41 lines 1.7 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]]
7=haskell.nix= is an experimental new builder for Haskell packages.
9It works by automatically translating your Cabal or Stack project and
10its dependencies into Nix code. Most of your dependencies are already
11translated, so you generally won't have too much generated code.
13For the documentation, see https://input-output-hk.github.io/haskell.nix/.
15** Quickstart
17This will download and build =nix-tools=.
19#+begin_src sh
20nix build -f https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz nix-tools -o nt
21./nt/bin/cabal-to-nix
22#+end_src
24** Related repos
26The =haskell.nix= repository contains the runtime system for building
27Haskell packages in Nix. It depends on other repos, which are:
29- [[https://github.com/input-output-hk/nix-tools][nix-tools]] — provides the programs for generating Nix expressions from
30 Haskell projects.
32- [[https://github.com/input-output-hk/hackage.nix][hackage.nix]] — the latest contents of the [[https://hackage.haskell.org/][Hackage]] databases,
33 converted to Nix expressions.
35- [[https://github.com/input-output-hk/stackage.nix][stackage.nix]] — all of the [[https://www.stackage.org/][Stackage]] snapshots, converted to Nix
36 expressions.
38** IRC Channel
40Join 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
41the development of =haskell.nix= and =nix-tools=.