catala/shell.nix

20 lines
456 B
Nix
Raw Normal View History

2021-10-29 15:59:16 +03:00
{ pkgs ? import <nixpkgs> { } }:
2021-10-29 15:45:05 +03:00
with pkgs;
2021-10-29 15:59:16 +03:00
let
pkg = ocamlPackages.callPackage ./. {
bindlib = ocamlPackages.callPackage ./.nix/bindlib.nix { };
unionfind = ocamlPackages.callPackage ./.nix/unionfind.nix { };
};
2021-10-29 15:45:05 +03:00
in mkShell {
inputsFrom = [ pkg ];
buildInputs = pkg.propagatedBuildInputs ++ [
inotify-tools
ocamlPackages.merlin
ocamlformat
ocamlPackages.ocp-indent
ocamlPackages.utop
ocamlPackages.ocaml-lsp
];
2021-10-29 15:59:16 +03:00
}