about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix
blob: d650d767a8d8c68ae9715f71bad1e748bd858d89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ lib, stdenv, src, version }:
stdenv.mkDerivation rec {
  inherit src version;
  name = "ocaml-${version}+bs";
  configurePhase = ''
    ./configure -prefix $out
  '';
  buildPhase = ''
    make -j9 world.opt
  '';

  meta = with lib; {
    branch = "4.06";
    platforms = platforms.all;
  };
}