diff options
-rw-r--r-- | flake.nix | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -11,8 +11,7 @@ | |||
11 | pkgs = nixpkgs.legacyPackages."${system}"; | 11 | pkgs = nixpkgs.legacyPackages."${system}"; |
12 | 12 | ||
13 | buildInputs = with pkgs.ocamlPackages; [ | 13 | buildInputs = with pkgs.ocamlPackages; [ |
14 | utop | 14 | utop # required for dune utop |
15 | pkgs.nixUnstable | ||
16 | ]; | 15 | ]; |
17 | 16 | ||
18 | in | 17 | in |
@@ -23,5 +22,14 @@ | |||
23 | useDune2 = true; | 22 | useDune2 = true; |
24 | src = ./.; | 23 | src = ./.; |
25 | }; | 24 | }; |
25 | devShell = mkShell { | ||
26 | buildInputs = with ocamlPackages; [ | ||
27 | ocaml | ||
28 | pkgs.dune_2 | ||
29 | utop | ||
30 | pkgs.nixUnstable | ||
31 | fswatch | ||
32 | ]; | ||
33 | }; | ||
26 | }); | 34 | }); |
27 | } | 35 | } |