You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=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
0 commit comments