While building oapm2nix with passing { ocamlPackagesOverride = pkg.ocaml-ng.ocamlPackages_4_14; }, I got an error:
...
File "src/stdio.ml", line 5, characters 21-32:
5 | module Out_channel = Out_channel
^^^^^^^^^^^
Alert deprecated: module Base.Out_channel
[2016-09] this element comes from the stdlib distributed with OCaml.
Referring to the stdlib directly is discouraged by Base. You should either
use the equivalent functionality offered by Base, or if you really want to
refer to the stdlib, use Caml.Out_channel instead
File "src/stdio.ml", line 11, characters 20-39:
11 | let eprintf = Out_channel.eprintf
^^^^^^^^^^^^^^^^^^^
Error: Unbound value Out_channel.eprintf
error: builder for '/nix/store/526m5q8rs2zniyb5fjy6ndbyk2dw3brf-ocaml4.14.0-stdio-0.14.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/q0fqpkbj50l0i1316081azsk6x5zdhlm-ocaml4.14.0-ppxlib-0.24.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8gw01y7zwyx8b0nqay0gy44gq17gi7q7-ocaml4.14.0-lwt_ppx-2.0.2.drv' failed to build
building '/nix/store/qdl96zc47255vgq6inhg14mv9z8vwkq2-ocaml4.14.0-opam-core-dev.drv'...
error: 1 dependencies of derivation '/nix/store/6lhw14b2sgmp46hajwi70wck88r4b0qa-ocaml4.14.0-opam2nix-1.1.0.drv' failed to build
While building oapm2nix with passing
{ ocamlPackagesOverride = pkg.ocaml-ng.ocamlPackages_4_14; }
, I got an error: