catala/shell.nix
2021-10-29 15:17:26 +02:00

20 lines
456 B
Nix

{ pkgs ? import <nixpkgs> { } }:
with pkgs;
let
pkg = ocamlPackages.callPackage ./. {
bindlib = ocamlPackages.callPackage ./.nix/bindlib.nix { };
unionfind = ocamlPackages.callPackage ./.nix/unionfind.nix { };
};
in mkShell {
inputsFrom = [ pkg ];
buildInputs = pkg.propagatedBuildInputs ++ [
inotify-tools
ocamlPackages.merlin
ocamlformat
ocamlPackages.ocp-indent
ocamlPackages.utop
ocamlPackages.ocaml-lsp
];
}