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

2016-11-04 Thread Vincent Laporte
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 tha

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

2016-11-03 Thread Pavel Chuprikov
Hi Jose, Try to override OCaml package instead: environment.systemPackages = with pkgs; [ ocamlPackages.llvm.override { llvm = llvm_39; }; ]; -- Pavel чт, 3 нояб. 2016 г. в 15:13, José Romildo Malaquias : > Hello. > > I want to install the latest LLVM bindings (3.9.0) for the OCaml > progra

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

2016-11-03 Thread José Romildo Malaquias
Hello. I want to install the latest LLVM bindings (3.9.0) for the OCaml programming language (4.0.3) on my NixOS unstable system. Currently I have the following on my system configuration: nixpkgs.config.packageOverrides = pkgs: rec { # ... ocamlPackages = pkgs.ocamlPackages_latest;