Set up LSP stuff
This commit is contained in:
parent
0ed194ed53
commit
d225073c27
2 changed files with 8 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -29,3 +29,4 @@ setup.log
|
||||||
_opam/
|
_opam/
|
||||||
|
|
||||||
.direnv/
|
.direnv/
|
||||||
|
.vscode/
|
|
@ -18,14 +18,17 @@
|
||||||
platforms = [ system ];
|
platforms = [ system ];
|
||||||
#maintainers = with maintainers; [ ];
|
#maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
in {
|
in with pkgs.ocamlPackages; {
|
||||||
devShells.${system}.default = with pkgs; mkShell {
|
devShells.${system}.default = with pkgs; mkShell {
|
||||||
#packages = [];
|
packages = [
|
||||||
|
ocaml-lsp
|
||||||
|
ocamlformat
|
||||||
|
];
|
||||||
inputsFrom = with self.packages.${system}; [ helloworld ];
|
inputsFrom = with self.packages.${system}; [ helloworld ];
|
||||||
};
|
};
|
||||||
packages.${system} = {
|
packages.${system} = {
|
||||||
default = self.packages.${system}.helloworld;
|
default = self.packages.${system}.helloworld;
|
||||||
helloworld = pkgs.ocamlPackages.buildDunePackage rec {
|
helloworld = buildDunePackage rec {
|
||||||
pname = "helloworld";
|
pname = "helloworld";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
Loading…
Add table
Reference in a new issue