add nix shell
Some checks failed
build / build (push) Failing after 2m50s

This commit is contained in:
zapashcanon 2025-07-11 14:52:06 +02:00
parent bbb3e8e636
commit 89905400dc

31
shell.nix Normal file
View 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 [
]}
'';
}