forked from OCamlPro/alt-ergo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
46 lines (43 loc) · 850 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ pkgs ? import ./nix { } }:
let
inherit (pkgs) lib python3Packages ocamlPackages;
in
pkgs.mkShell {
# Required for correct locales on non-NixOS,
# see https://nixos.wiki/wiki/Locales
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
nativeBuildInputs = with ocamlPackages; [
pkgs.ocamlformat
pkgs.sphinx
python3Packages.myst-parser
python3Packages.sphinx-rtd-theme
ocaml
dune_3
ocaml-lsp
ocp-indent
dune-release
dune-site
];
buildInputs = with ocamlPackages; [
ocplib-simplex
bos
dolmen_loop
camlzip
psmt2-frontend
stdlib-shims
menhir
dune-build-info
js_of_ocaml-ppx
js_of_ocaml-lwt
lwt_ppx
data-encoding
zarith_stubs_js
cmdliner
ppx_blob
odoc
ppx_deriving
landmarks
landmarks-ppx
qcheck
];
}