Not specific to Nix or OCaml, but you could use BINFMT_MISC as described in this blog post and in the other blog post it talks about.
1 Like
Not specific to Nix or OCaml, but you could use BINFMT_MISC as described in this blog post and in the other blog post it talks about.