sun/shell.nix
zapashcanon 2295807eee
Some checks failed
build / build (push) Failing after 2m58s
add shell.nix and fix some deps
2025-07-11 14:59:09 +02:00

32 lines
487 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
ocaml
ocamlformat
odoc
];
buildInputs = with ocamlPackages; [
bos
cmdliner
directories
fmt
fpath
ptime
prelude
scfg
];
shellHook = ''
export PATH=$PATH:${pkgs.lib.makeBinPath [
]}
'';
}