scfg/shell.nix

33 lines
500 B
Nix
Raw Permalink Normal View History

2022-01-17 18:10:12 +01:00
{ pkgs ? import <nixpkgs> { } }:
let
ocamlPackages = pkgs.ocaml-ng.ocamlPackages_5_3;
in
pkgs.mkShell {
name = "frost";
dontDetectOcamlConflicts = false;
nativeBuildInputs = with ocamlPackages; [
dune_3
findlib
merlin
menhir
ocaml
ocamlformat
odoc
crowbar
];
buildInputs = with ocamlPackages; [
bos
cmdliner
fmt
fpath
menhirLib
prelude
sedlex
];
shellHook = ''
export PATH=$PATH:${pkgs.lib.makeBinPath [
]}
'';
}