Skip to content

Commit

Permalink
Merge pull request #112 from akirak/ocaml-tidy
Browse files Browse the repository at this point in the history
Change the order of buildInputs in the OCaml template
  • Loading branch information
akirak authored Nov 25, 2024
2 parents 3d33291 + 62576f5 commit 614e087
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ocaml/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
{
default = pkgs.mkShell {
inputsFrom = [ self.packages.${pkgs.system}.default ];
buildInputs =
lib.optional pkgs.stdenv.isLinux pkgs.inotify-tools
++ (with ocamlPackages; [
buildInputs = (
with ocamlPackages;
[
ocaml-lsp
ocamlformat
ocp-indent
Expand All @@ -88,7 +88,11 @@
odig
# This may fail to build, so it is turned off by default.
# (sherlodoc.override { enableServe = true; })
]);
]
)
# Enable file watcher.
# ++ lib.optional pkgs.stdenv.isLinux pkgs.inotify-tools
;
};
}
);
Expand Down

0 comments on commit 614e087

Please sign in to comment.