Closed rvem closed 2 years ago
opam-nix
just calls make install
in case of zarith, which then calls ocamlfind install
. That doens't seem to install stuff correctly for some reason.
Ok, I see. ocamlfind install
will only install DLLs to stublibs
if that directory exists.
Thanks!
Is your feature request related to a problem? Please describe.
Currently,
opam-nix
installs ocaml stublibs to$OCAMLFIND_DESTDIR/${pname}
together with the rest of the libraries. However, ocaml compiler expects them to be present in$OCAMLFIND_DESTDIR/stublibs
directory.This is the case for e.g.
zarith
library.Describe the solution you'd like
The following
postInstall
workaround seems to work:Ideally,
opam-nix
should handle this automatically. Maybe there is a way to specify a place to looks for stublibs.