Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seems you would need to first override ocaml and then override the ocaml used in mkOcamlPackages. [1]

  let o = ocaml.override { flambdaSupport = true; }; in
  let oP = ocaml-ng.mkOcamlPackages o (self: super: {}); in
  oP.apron
[1] https://discourse.nixos.org/t/install-ocaml-flambda-compiler...


Okay, thanks! But doesn't this still mean you have to compile ocaml (with flambda) yourself?


If the derivation has already been written (as GP implies), then compiling something yourself with Nix is essentially just a longer installation process. No downloading tarballs, no keeping track of things in /usr/local, no stow or manually adding things to your path. Nix is essentially a source distribution that pulls common binaries from caches.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: