Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OCaml findlib doesn't install topfind #16085
It seems that findlib doesn't install topfind even though the package implies it should here in this patch. This is a problem, utop with
Steps to reproduce
My nix config is available here for my development software.
The relevant packages are installed as follows:
Now create a
If you use utop, it shouldn't be a problem since it does its own initialization of findlib, so you don't need the
For the stock toplevel, this error seems normal to me according to the package description -- topfind is installed by default in the same directory as ocaml, but as it isn't possible with nix, the patch makes it installed aside findlib, and the toplevel can't find it.
I meant creating a derivation (a "package" in nix terminology) containing a script to launch ocaml with the correct include path. this should do it -- the
Tell me if anything is unclear