[Nix-dev] How to intall llvm-3.9.0 API for ocaml-4.0.3?

Vincent Laporte vincent.laporte at gmail.com
Fri Nov 4 08:25:18 CET 2016


Hi,

So as to override the ocaml-llvm derivation to change the llvm version,
you can write something like:

    ocamlPackages_4_03.llvm.override { llvm = llvm_38; }

This works with llvm-3.8. Unfortunately for you, it does not work with
llvm-3.9; indeed, the build process of llvm has changed so that the
ocaml-llvm derivation cannot be used as is. You may need to write your
own derivation, maybe looking at the llvm-3.9 derivation. If you
succeed, please share your findings.

Cheers,
--
Vincent.


More information about the nix-dev mailing list