Okay tried opam2nix
again, no dice…
https://gitlab.com/NobbZ/ocaml2nix-hello-example fails due to OCAMLTOP_INCLUDE_PATH: unbound variable
when building dune
, running nix-build
directly in the examples/simple
dir of opam2nix
gives me OCAMLPATH: unbound variable
when building cppo
.
The linked repository of mine, just tries to mimick what the mentioned example does anyway, differences I am aware of, is that I want to use a more recent version of OCaml and I have resolved at a later point in time, both might lead to a different opam-selection
.
Can someone help me figuring this out? Or should I go and open a ticket at opam2nix
repo? Create a new thread here?