diff --git a/.gitignore b/.gitignore index ca170a0..c6ad872 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,5 @@ setup.log # Local OPAM switch _opam/ -.direnv/ \ No newline at end of file +.direnv/ +.vscode/ \ No newline at end of file diff --git a/flake.nix b/flake.nix index 6c10356..e5ccd0c 100644 --- a/flake.nix +++ b/flake.nix @@ -18,14 +18,17 @@ platforms = [ system ]; #maintainers = with maintainers; [ ]; }; - in { + in with pkgs.ocamlPackages; { devShells.${system}.default = with pkgs; mkShell { - #packages = []; + packages = [ + ocaml-lsp + ocamlformat + ]; inputsFrom = with self.packages.${system}; [ helloworld ]; }; packages.${system} = { default = self.packages.${system}.helloworld; - helloworld = pkgs.ocamlPackages.buildDunePackage rec { + helloworld = buildDunePackage rec { pname = "helloworld"; version = "0.1.0"; src = ./.;