Skip to content

Commit 0a4a92a

Browse files
committed
Update readme
1 parent a6d28ba commit 0a4a92a

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

README.org

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
1-
* haskell.nix
2-
3-
This repository contains the runtime system for [[https://github.com/input-output-hk/nix-tools][nix-tools]].
4-
Please see [[https://github.com/input-output-hk/nix-tools][nix-tools]] for more details.
1+
* Alternative Haskell Infrastructure for Nixpkgs
52

63
[[https://travis-ci.org/input-output-hk/haskell.nix][https://travis-ci.org/input-output-hk/haskell.nix.svg?branch=master]]
4+
5+
=haskell.nix= is an experimental new builder for Haskell packages.
6+
7+
It works by automatically translating your Cabal or Stack project and
8+
its dependencies into Nix code. Most of your dependencies are already
9+
translated, so you generally won't have too much generated code.
10+
11+
For full documentation, see https://input-output-hk.github.io/haskell.nix
12+
13+
** Quickstart
14+
15+
This will download and build =nix-tools=.
16+
17+
#+begin_src sh
18+
nix build -f https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz nix-tools -o nt
19+
./nt/bin/cabal-to-nix --help
20+
#+end_src
21+
22+
** Related repos
23+
24+
The =haskell.nix= repository contains the runtime system for building
25+
Haskell packages in Nix. It depends on other repos, which are:
26+
27+
- [[https://github.com/input-output-hk/nix-tools][nix-tools]] — provides the programs for generating Nix expressions from
28+
Haskell projects.
29+
30+
- [[https://github.com/input-output-hk/hackage.nix][hackage.nix]] — the latest contents of the [[https://hackage.haskell.org/][Hackage]] databases,
31+
converted to Nix expressions.
32+
33+
- [[https://github.com/input-output-hk/stackage.nix][stackage.nix]] — all of the [[https://www.stackage.org/][Stackage]] snapshots, converted to Nix
34+
expressions.

0 commit comments

Comments
 (0)