Skip to content

Commit

Permalink
Separate ocaml dev shell from default
Browse files Browse the repository at this point in the history
Default now contains both ocaml and ruby, but each can be individually
selected and built.
  • Loading branch information
bcc32 committed Dec 24, 2023
1 parent 65e73a6 commit 06c889b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@
overlays = [ ocaml-overlays.overlays.default ];
};
in with pkgs; rec {
devShells.default = mkShell {
devShells.default =
mkShell { inputsFrom = [ devShells.ocaml devShells.ruby ]; };

devShells.ocaml = mkShell {
inputsFrom = [ packages.default ];
buildInputs = lib.optional stdenv.isLinux inotify-tools ++ [
ocamlPackages.merlin
ocamlformat
ocamlPackages.ocp-indent
ocamlPackages.utop

ruby
];
};

Expand Down

0 comments on commit 06c889b

Please sign in to comment.