summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-08-08 15:14:33 +0100
committerAkshay <[email protected]>2021-08-08 15:14:33 +0100
commit0009c5b600ef1bba1a468ff85f41ee9f961b18b2 (patch)
treef076b9230bed91d99b884b676366e8f99fe35c0c
parentd30f3dbd9d2f5ad1184f3d61cb1630f3447bd88c (diff)
add devShell
-rw-r--r--flake.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 4c483e6..f889c15 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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}