diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..8f68fe8 --- /dev/null +++ b/default.nix | |||
@@ -0,0 +1,27 @@ | |||
1 | { pkgs ? import ./nixpkgs-pinned.nix {} }: with pkgs; | ||
2 | let ocamlPackages = ocaml-ng.ocamlPackages_4_14; in | ||
3 | |||
4 | ocamlPackages.buildDunePackage { | ||
5 | pname = "mininix"; | ||
6 | version = "1.0.0"; | ||
7 | |||
8 | src = ./.; | ||
9 | doCheck = true; | ||
10 | |||
11 | nativeBuildInputs = [ coq_8_20 git ocamlPackages.menhir ]; | ||
12 | buildInputs = (with coqPackages_8_20; [ | ||
13 | flocq | ||
14 | stdpp | ||
15 | ]) ++ (with ocamlPackages; [ | ||
16 | bisect_ppx | ||
17 | core | ||
18 | core_unix | ||
19 | linenoise | ||
20 | pprint | ||
21 | ppx_blob | ||
22 | ppx_let | ||
23 | ppx_sexp_conv | ||
24 | sexp_pretty | ||
25 | stdio | ||
26 | ]); | ||
27 | } | ||