This commit is contained in:
parent
bbb3e8e636
commit
89905400dc
31
shell.nix
Normal file
31
shell.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ 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
|
||||
];
|
||||
buildInputs = with ocamlPackages; [
|
||||
bos
|
||||
cmdliner
|
||||
fmt
|
||||
fpath
|
||||
menhirLib
|
||||
prelude
|
||||
sedlex
|
||||
];
|
||||
shellHook = ''
|
||||
export PATH=$PATH:${pkgs.lib.makeBinPath [
|
||||
]}
|
||||
'';
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user