Ocaml and Nixos

You need to bring in at least findlib.

buildInputs = [
  pkgs.ocaml
  pkgs.ocamlPackages.findlib
  ...
]

If you don’t want to use dune for now, then ocamlfind ocamlc should do the job. I forget how to use those commands though.

See if this flake helps:

1 Like