scfg/shell.nix
zapashcanon 89905400dc
Some checks failed
build / build (push) Failing after 2m50s
add nix shell
2025-07-11 14:52:06 +02:00

32 lines
488 B
Nix

{ 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 [
]}
'';
}