on servant-docs-0.11.4 help sign in
servant/nix/README.md
23 lines 463 B history raw
1You can use the `shell.nix` from this directory
2to build the servant packages or even the tutorial
3or cookbook if you want to, optionally.
5Just the servant packages:
7``` sh
8$ nix-shell nix/shell.nix
9```
11Everything needed for the tutorial and the
12cookbook too:
14``` sh
15$ nix-shell nix/shell.nix --arg tutorial true
16```
18The `shell.nix` file also supports specifying
19a particular ghc version, e.g:
21``` sh
22$ nix-shell nix/shell.nix --argstr compiler ghcHEAD
23```