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

José Romildo Malaquias jrmalaq at gmail.com
Thu Nov 3 15:13:03 CET 2016


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;    # 4.0.3 currently
    llvmPackages = pkgs.llvmPackages_39;          # latest
  };

  environment.systemPackages = with pkgs; [
    # ...
    llvmPackages.llvm
    ocamlPackages.llvm
  };

This gives me ocaml-llvm-3.7.1.

How can get ocaml-llvm-3.9.0?

Romildo


More information about the nix-dev mailing list