Skip to content

Commit

Permalink
fix(dev): need ocaml-lsp-server for dev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
actionshrimp committed Nov 4, 2024
1 parent 5459d01 commit 2be6454
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 249 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ format:

onix-lock:
onix lock ./gcloud.opam ./gcloud-cli.opam --resolutions="ocaml-system=5.2.0" --lock-file ./onix-lock.json
onix lock ./gcloud.opam ./gcloud-cli.opam ./gcloud-melange.opam --resolutions="ocaml-system=5.2.0" --with-dev-setup=true --with-test=true --lock-file ./onix-lock-dev.json
onix lock ./gcloud.opam ./gcloud-cli.opam ./gcloud-melange.opam --resolutions="ocaml-system=5.2.0,ocaml-lsp-server" --with-dev-setup=true --with-test=true --lock-file ./onix-lock-dev.json
git add onix-lock.json onix-lock-dev.json
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@
path = ./.;
roots = opamFiles;
lock = ./onix-lock.json;
deps = { "ocaml-system" = "*"; };
};
onixEnvDev = onix'.env {
path = ./.;
roots = opamFiles ++ [ ./gcloud-melange.opam ];
lock = ./onix-lock-dev.json;
deps = {
"ocaml-system" = "*";
"ocaml-lsp-server" = "*";
};
};

in rec {
Expand Down
Loading

0 comments on commit 2be6454

Please sign in to comment.