servant/nix
2017-12-27 01:33:12 +01:00
..
README.md add shell.nix for building servant (+ tutorial + cookbook, optionally) 2017-12-08 23:44:38 +01:00
shell.nix cookbook projects: add (lower) bounds for non servant deps 2017-12-27 01:33:12 +01:00

You can use the shell.nix from this directory to build the servant packages or even the tutorial or cookbook if you want to, optionally.

Just the servant packages:

$ nix-shell nix/shell.nix

Everything needed for the tutorial and the cookbook too:

$ nix-shell nix/shell.nix --arg tutorial true

The shell.nix file also supports specifying a particular ghc version, e.g:

$ nix-shell nix/shell.nix --argstr compiler ghcHEAD